https://github.com/hifly81/slapolicy-sample
A jBPM Case Management project sample with a SLA policy defined
https://github.com/hifly81/slapolicy-sample
bpm bpmn-engine bpmn2 case-management jboss jbpm sla-policy wildfly
Last synced: 8 months ago
JSON representation
A jBPM Case Management project sample with a SLA policy defined
- Host: GitHub
- URL: https://github.com/hifly81/slapolicy-sample
- Owner: hifly81
- Archived: true
- Created: 2018-02-13T12:37:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-16T09:13:43.000Z (over 7 years ago)
- Last Synced: 2024-12-20T23:29:15.935Z (10 months ago)
- Topics: bpm, bpmn-engine, bpmn2, case-management, jboss, jbpm, sla-policy, wildfly
- Language: Java
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SLA Policy - jBPM Case Management
A case project sample with a SLA policy defined
This sample project shows as a SLA policy with a priority and a resolution duration can be attached to a case; when the SLA policy is elapsed a human task (Task Two) is created.
Task Two is delegated to an escalation group (or groups) after a period (configurable)

## SLA Policy - usage
Start a case with:
```
curl -X POST "http:///kie-server/services/rest/server/containers//cases//instances" \
-H "accept: application/xml" -H "content-type: application/json" -d \
'{"case-group-assignments": {"Staff": "Staff"},"case-data": {"slaPolicy":{"name": "urgent_sla","description": "urgent_sla","priority": "HIGH", "resolutionDuration": "PT300S", "escalation": {"groups": "Staff","waitingTimeBeforeEscalate": "PT30S"}}}}"
```- case-group-assignments --> are case roles
- case-data
-- slaPolicy --> object representing a SLA policyresolutionDuration is a ISO-8601 date format
waitingTimeBeforeEscalate is a ISO-8601 date format