cancel
Showing results for 
Search instead for 
Did you mean: 

Workitem deletion from Approver's UWL, upon deletion of Request by Requestor in Travel workcentre

shweta_m2
Explorer
0 Kudos

Hi,

I have a requirement where, When the requestor deletes a Travel Request which is in Approver's UWL inbox for Approval, the workitem is to be deleted from the Approvers UWL.

This is related to Travel Management and we are using Custom workflow and Delegation of BUS2089 for the even 'CREATED'. The workflow triggers when the new request is created. But the Deletion event is not linked to any workflow or task. Kindly let me know if there is any quick way to delete the workitem in Approver's inbox when the request is deleted?

Regards,

Shweta

Accepted Solutions (1)

Accepted Solutions (1)

nabheetscn
Active Contributor
0 Kudos

Another way can be you keep a fork in your workflow with two branches..one doing what it is doing right now and another has a wait step for deleted event. Keep necessay branch as 1.Whenever deleted event will be raise by system or you in an exit this branch will make sure workflow goes to completion.

shweta_m2
Explorer
0 Kudos

Hi Nabheet,

I implimented Fork and it resolved the issue.

Thanks,

Shweta

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You need to make the Deletion event as the terminating event of the task that triggers the approval workitem. Hope your Approval task is an asynchronous task. So if you put the Deletion event as the terminating event for that task then the Task will be completed and the workitem will be removed from approver's inbox. This should be the approach to completed the workitem rather delete the workitem.