cancel
Showing results for 
Search instead for 
Did you mean: 

Get all agents related to the current instance of WF

Former Member
0 Kudos

Hi all,

i need to find all agents which have worked on the current WF. My requierement is to send a notification to all persons which were working with this WF.

Thanks,

JJ

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Not sure of any standard ways but you can do it with some custom coding. Logic shud be as follows.

1. Get the workflow workitem id for the required instance. This logic depends on that application that you are using and how it is linked to the worklfow instance.

2. Fetch all the userids available in WI_AAGENT with value WI_TYPE = W and TOP_WI_ID = "Workflow workitem id". <i>--> This gives the list of agents who executed the dialog workitems associated with that instance of the workflow.</i>

3. Send mail to these agents (In case of emails determine the email id using the user id using appropriate logic and then send the emails)

Thanks,

Prasath N