cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow User Decision Excluded Agents

0 Kudos
1,256

Hi Guys ,

I have a requirement that to exclude some users of an organization in workflow.

Here i have ACTOR_TAB with Organization and in EX_TAB i have users which need to be excluded. But its not working this way any idea will be appriciated.

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Mike ,

I solved it. Needed to use US in EX_TAB. like US008748.

pokrakam
Active Contributor
0 Kudos

Yes, that's standard for all org object data elements in WF. You could also exclude an org unit.

Answers (2)

Answers (2)

bpawanchand
Active Contributor
0 Kudos

Hi Asim,

I am not sure what is the reference type that you have used forACTORTAB and EX_TAB. I guess you have used the type as SWHACTOR and made it a multiline container element. However just to make sure check in the container element that along with the USER ID you are also passing the type as US . For instance,

There are two fields in the structure SWHACTOR one is OTYPE this should be filled with 'US' and second one is OBJID this must be populated with user id which is SY-UNAME. In your case, I see that the user ID are populated but not the ORG Object type which is US.

Fill the multiline container element with US 008748 and so on.

Thanks, Pavan

pokrakam
Active Contributor
0 Kudos

I am surprised at this, I wonder if the exclusion only works for evaluated expressions (rules, org objects, roles etc.)? Unfortunately I have no time to test, but you could try by using an org unit instead of ACTOR_TAB to see if it works then. Please post back if this works, as I would also be interested.

You could always implement your exclusion in the same place as you build up ACTOR_TAB.