Skip to main content
Nintex Community Menu Bar

Run workflow based on User

  • May 2, 2019
  • 12 replies
  • 48 views
  • Translate All

Forum|alt.badge.img+9

No you will not be able to filter run if action based on a people picker field. Use condition action.

12 replies

mcamarco
Forum|alt.badge.img+3
If I use the Condition Action, how am I typing the user in? I've tried their email and that didn't seem to work.
Translate

Forum|alt.badge.img+12

@mcamarco ....could you please provide more information on what exactly you're trying to achieve?

Translate

mcamarco
Forum|alt.badge.img+3
Run if initiator is not equal to user/group to start an approval process.

or in the conditional branch:
If Initiator is equal to user -- run an approval process under the "no" branch.
Translate

Forum|alt.badge.img+12

@mcamarco .....did you try saving your user in a variable and then comparing it with initiator or vice versa or both?

Translate

mcamarco
Forum|alt.badge.img+3
I have not, save the user email as a variable?
Translate

mcamarco
Forum|alt.badge.img+3

I saved each user as a variable using their email, the conditional branch didnt run properly.

 

 

@kunalpatel 

Translate

Forum|alt.badge.img+9

6061iE0C08D492B39DB31.png

Translate

mcamarco
Forum|alt.badge.img+3

Is that using o365?

 

I'm using the Conditional Branch action within my workflow and have it configured as follows:

Translate

Forum|alt.badge.img+12

@mcamarco .....Is there a reason for using email id instead of username or display name? If you want to compare the email  then you can get the email of the initiator and then compare it with your variable. If equal operator doesn't work then try using contain operator.

Translate

Forum|alt.badge.img+9

No, this is on prem SP. But, you can directly type users name and that should be fine.

Translate

Forum|alt.badge.img+12

@brightlight ....If @mcamarco has dynamic users then it won't work.

Translate

Forum|alt.badge.img+12

@mcamarco ......since you're checking Initiator's information, did you try to use set variable action and get the email address of the initiator and then compare it with other email variables? 

 

Is it possible to check against display name or username instead?

Translate