Skip to main content
Nintex Community Menu Bar

I'm fairly new to Nintex Workflow, though I do have some experience with other workflow applications. Right now, I’m working on configuring a Set a Condition step on my workflow with multiple criteria.

What I’m trying to do is that when a rVendor Id] is empty and if the rStatus] field is either “Awaiting Final Approval” or “Dept Approved”.

Solution #1
If current item field equals value eVendor ID] is empty

AND

OR
Stage] is “Dept Approved”

Solution #2
If current item field equals value mVendor ID] is empty

AND

mStage] is “Awaiting Final Approval”
OR
If current item field equals value Vendor ID] is empty
AND
]Stage] is “Dept Approved”


Based on my experience with a previous app, the second solution usually delivers the best results. However, I'm not sure if that applies to Nintex Workflow. When I tested the second option, it didn’t trigger anything, whereas the first one did work. Could you help clarify this for me? I really appreciate your support. Thanks in advance!

Hi ​@rcostillas,

Welcome to the community.
The issue here is that the action does not have the capability to know where the parentheses are.
 

For instance, is it:

(If current item field equals value uVendor ID] is empty AND NStage] is “Awaiting Final Approval”)

OR (/Stage] is “Dept Approved”)

Or is it:
(If current item field equals value qVendor ID] is empty

AND ( gStage] is “Awaiting Final Approval” OR lStage] is “Dept Approved”)

The action works well with multiple AND statements or Multiple OR statements, but does not work with mixed statements. You may need to embed multiple set a condition actions or other methods to direct the flow based on the required logic.


Thanks for getting back to me, Simon. I really appreciate it. I was considering using a multiple
“Set a condition” actions to accomplish this, I’m just curious about if there’s a more efficient way to achieve the same result without going that route. In my case, I could also take advantage of the Conditional setting for “Start when items are modified” to split the conditions. Thanks again Simon. I’m learning a lot in this community.


Hi ​@rcostillas,

I would probably nest two “set a condition” actions.
First action checks if the Vendor Id is empty.
If yes, it then checks if the status is either Awaiting or approved.


If you try to configure a conditional start, you will run into the same issue as before, in that you will be mixing AND and OR statements.

 

You could maybe have a conditional start that looks for the empty Vendor Id. If it’s empty, the workflow starts and checks the Status to see if it’s either of the choices you are looking for. If not, the workflow ends.
 


Thanks again, Simon, for offering those options. I went ahead with the last approach you mentioned, starting with a conditional start where vendor Id is empty. After that, I added a “set a condition” step to evaluate the status using the OR operator. I also appreciate you suggesting the alternative nesting two “set a condition” steps. I’m pretty sure that method will work well too.