Hi,
I have dmi_workitem ID. I need to get last MANUAL performer name and group. Performer is "Single User from a group" and have an auto-activitiy between the current manual performer and previous manual performer.
I need a DQL may be single or multiple.
I tried this following assuming given dmi_workitem ID is GivenWIId:
select r_workflow_id from dmi_workitem where r_object_id='GivenWIId'.
Got the result into WorkflowId then executed the following:
select r_last_performer from dm_workflow where r_object_id='WorkflowId' ENABLE (ROW_BASED)
I am getting the final result as Workflowsupervisor name that is coming from auto-activity because for every auto activity's performer is Workflowsupervisor.
My problem is how can I get "last MANUAL performer name" or "last last performer name".
Please share your knowledge and experiences for figuring this out.
Thanks.
ta