Hi Experts,
In a standard workflow, there is a task which can create a workitem to different agents by agents determination.
As per standard workflow, once the workitem have been opened by any user, the same workitem will disappear from all others inbox. Now there is a need of changing the workflow to perform the task by everyone. For this I am using BLOCK step with parforeach. In the definition, workflow completion is doing based on document status. If any one processed the task, then the doc status will change and then workflow will be in complete state. Now along with this workflow, all other unprocessed workitems are getting closed automatically. So there is any way/function module to check the status of all workitems of a workflow to check same before workflow completion step.
Thanks in advance...
Regards,
Suresh