Hi,
I have noticed that DelegationStates have only 'PENDING' and 'RESOLVED' assigned. Is is possible to add other states like 'OPEN' or 'ERROR' as well?
Regards,
Krish
Solved! Go to Solution.
Krish,
Further to Thong's answer.
Remember, Activiti is a completely open source environment, therefore you can easily add as many delegation states as you want, you simply need to create the logic to support each state.
Cheers,
Greg
Hi Krish,
Activiti task's delegationState can only be null, 'pending' or 'resolved'. See Activiti documentation about task here Activiti User Guide and Java doc here DelegationState (Activiti - Engine 5.22.0 API)
Also check for methods 'delegateTask' and 'resolveTask' in TaskService Java Doc here TaskService (Activiti - Engine 5.22.0 API) . The doc also explains the exceptions when you are dealing with task delegation.
Pending: The owner delegated the task and wants to review the result after the assignee has resolved the task.
Resolved: The assignee has resolved the task, the assignee was set to the owner again and the owner now finds this task back in the ToDo list for review.
Hope this helps,
Thanks,
Thong Huynh
bp3
Krish,
Further to Thong's answer.
Remember, Activiti is a completely open source environment, therefore you can easily add as many delegation states as you want, you simply need to create the logic to support each state.
Cheers,
Greg
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.