Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Search Agents/ Users assigned in workflows

Former Member
0 Likes
1,509

I want to get the list of user/Agents assigned in any RULE (with responsibility) and TASK GROUPS.

(without tcode PFAC, data is required in an internal table)

Is there any method/function module, which returns the above data ??

e.g. I have a rule RY 50000123 and six or seven different responsibilities under the same; many agents are assigned to those responsibilities.

I want to get the list of user/Agents assigned in any RULE (with responsibility) and TASK GROUPS.

(without tcode PFAC, data is required in an internal table)

Is there any method/function module, which returns the above data ??

e.g. I have a rule RY 50000123 and six or seven different responsibilities under the same; many agents are assigned to those responsibilities.

2 REPLIES 2
Read only

GauthamV
Active Contributor
0 Likes
1,020

hi,

use these function modules.

SWF_TASK_DETAILS_GET

SWD_GET_TASK_AGENTS

RH_WI_ORGTASK_READ

SWL_WI_DISP_ACTUAL_AGENTS

Read only

Former Member
0 Likes
1,020

Hi Goutam,

Thanks for your help, but my requirement was regarding the Agents maintained in PFAC tcode.

All the Fm you have mentioned are helpful only when you have work item id or Task name to search for.

i.e. run time data mostly.

My requirement was for Master data :-

If you go to tcode OOCU_RESP for any RULE (where RULE is maintained for Responsibilities), you will find list of agents listed.

I need this list in a internal table i.e. any FM which returns this list of users where the input value will be RULE ID.