Usecase: Sometimes we may come across a situation where we wanted to re-open the completed workflow human task.
Implementation steps:
Implementation steps:
- Capture the token and taskid attributes of completed human task. You can get these task attributes from 'initiateTaskResponseMessage' outputVariable which will be created in INVOKE activity of human task service
- Drag and drop database adapter after human task RECEIVE activity and execute delete operation from orabpel.wftask and orabpel.wfroutingslip where taskid = 'Already captured Taskid'
- Drag and drop invoke activity and link it to TaskServcie partnerlink service and select 'reinitiate Task' operation
- Drag an Assign activity before last INVOKE and assign previously stored Taskid, token and 'ASSIGNED' literal value to Taskid,token and state fields of Invoke_1_reinitiateTask_InputVariable respectively
- Compile and deploy
No comments:
Post a Comment