We have a workflow which is triggered when an invoice is parked. It sends a work item to the contact center project manager to create a GRN.
Our problem is that when the GR is created through the transaction and not through the work item, the work item remains in the user's inbox. Is there a way to change the status of the work item to 'complete' and remove it from the user's inbox?
What I would do in this case is put in a parallel step with the work item that listens for the creation of the GR. When this event is received, the parallel step will terminate the work item in the user's inbox.There is another approach which is to use terminating events on the work item but this requires you to specify the GR creation method as asynchronous.
No comments:
Post a Comment