cancel
Showing results for 
Search instead for 
Did you mean: 
Emiway21
Nintex Newbie

Run if condition using list lookup and comparing it to workflow variable

Jump to solution

I have a list named "traillist1" and field named "power". I already made the workflow. I want an email to be sent only when "power" is greater than workflowdefined variable "var1"

 

Screen Shot 2019-10-03 at 8.54.31 PM.pngScreen Shot 2019-10-03 at 8.52.46 PM.pngScreen Shot 2019-10-03 at 8.52.37 PM.png

Labels: (1)
Tags (2)
0 Kudos
Reply
4 Replies
v-tmasenko
Nintex Newbie

Re: Run if condition using list lookup and comparing it to workflow variable

Jump to solution
You need to make the following changes to your workflow:
1) Move the "Send an Email" action into the "Run If" block
2) Change the "Run If" condition to be "is greater than"
0 Kudos
Reply
Emiway21
Nintex Newbie

Re: Run if condition using list lookup and comparing it to workflow variable

Jump to solution

I moved the email action into the action block. But i am still getting argument error. I think there is a problem in the 'run if' condition. I dont know what to fill in when "power" equals "value". I only want to send an email, when data entered through nintex form satisfies the condition of  "Power" is greater than defined workflow variable "var 1 ".
Screen Shot 2019-10-05 at 1.18.08 PM.pngScreen Shot 2019-10-05 at 1.18.24 PM.png

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: Run if condition using list lookup and comparing it to workflow variable

Jump to solution

Before the "Run if" you are setting your workflow variable "var 1".
Create a second variable that sets the value of the Power "var 2".

SetPower.png

Then use both variables in your Run If. If var 2 (Power) is greater than var 1 (workflow variable) send email

 

runifgreater.png

 

0 Kudos
Reply
Emiway21
Nintex Newbie

Re: Run if condition using list lookup and comparing it to workflow variable

Jump to solution

Thank you, it worked.

0 Kudos
Reply