SLA for human task

83 views
Skip to first unread message

neelanjan banerjee

unread,
Jul 11, 2019, 3:01:10 AM7/11/19
to jBPM Usage
Hi,

I have a requirement to trigger a SLA when a human task is assigned to a user i.e. status is 'Reserved' in a process.
The human task node has a property as - SLA Due Date .. but this SLA will trigger when the human task is created but my ask is when the task is assigned to a user.  

I was thinking of using TaskLifeCycleEventListener ->  afterTaskClaimedEvent method to trigger the task SLA  or a boundary timer or a sub-process that will have a human task with defined sla and once the sla expire for that human task perform the associated action. 
  But not sure on it.
 
Any suggestions on this will be helpful ?


Regards,
Neelanjan

Abhijit Humbe

unread,
Jul 11, 2019, 3:47:24 AM7/11/19
to neelanjan banerjee, jBPM Usage
do you want to perform any particular operation after SLA expiration ?
You can make use of Notification property of humanTask. In Notification you can make use of 'not_completed' event. If humanTask is not completed in specified time it will send out an email to specified contacts. give a try with this approach.
Abhijit Humbe


--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/CAERvgXdy4%3D7MqygeucknNbR86MM69ADMtOuGbzy3eAZAO7E3bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

neelanjan banerjee

unread,
Jul 11, 2019, 5:23:08 AM7/11/19
to Abhijit Humbe, jBPM Usage
Thanks Abhijit but my ask is to customize the trigger point of the SLA it should be when a task is claimed instead of when it is created.
If this is not achievable I am thinking of  using TaskLifeCycleEventListener ->  afterTaskClaimedEvent method to start a sub-process that will have a human task with the same defined sla and once the sla expire for that human task perform the associated action. i.e. move the original task back to the group.
Basic requirement is that if a user has claimed the task but has not work on it with in the defined SLA move the task back to the group...

Regards,
Neelanjan

Abhijit Humbe

unread,
Jul 11, 2019, 10:43:59 AM7/11/19
to neelanjan banerjee, jBPM Usage
If you want to release task if its not completed in specified time then you can use 'reassignment' property of HumanTask. In groups define the groupname to which you want to reassign the task.

TaskReassignment.png
Abhijit Humbe

Arif Mohammed

unread,
Jul 11, 2019, 12:36:15 PM7/11/19
to jBPM Usage
This looks like a valid requirement but unfortunately I believe we can't achieve this with jBPM. That is trigger the SLA start time from the time the task is claimed but not from the time the task is created.

Anyway I will leave it to the experts on how to achieve this desired functionality.

Maciej Swiderski

unread,
Jul 11, 2019, 12:55:08 PM7/11/19
to Arif Mohammed, jBPM Usage
SLA is implemented on the process instance/node instance level so it is not aware of particular life cycle of the given node instancy type e.g. human task 

Maciej

--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.

neelanjan banerjee

unread,
Jul 15, 2019, 5:15:49 AM7/15/19
to Abhijit Humbe, jBPM Usage
Thanks Abhijit.. This worked... using the not-completed type.

Regards,
Neelanjan
Reply all
Reply to author
Forward
0 new messages