Skip to main content
Nintex Community Menu Bar

K2 for SharePoint - OR condition in Workflow

  • July 27, 2017
  • 1 reply
  • 14 views

Forum|alt.badge.img+10

I need to build following condition in Workflow Step Outcomes

Title = 'Amt' And (Amount < 5 OR Amount = 10)

*** Value of Title must be "Amt" for this condition to be true

 

It seems K2 is only allowing me to

Title = 'Amt' And Amount < 5 OR Amount = 10

So even though Title is not "Amt", but Amount is less than 5 or equal to 10, condition is resolving to true.

11454i3B283E0D6236F3B2.jpg

 

How to implement a condition like Title = 'Amt' And (Amount < 5 OR Amount = 10)? I took a very simple scenario. My requirement is much complex with many OR conditions.

 

Thanks!

1 reply

Forum|alt.badge.img+10
  • Author
  • July 27, 2017

I found a workaround.

  • Created a DB field of type boolean
  • Set this field value using expression builder in Set DB field event. Expression builder allowed me to nest complex conditions.
  • Use DB field value in Workflow Outcome Rules.

 

 

Any other better ideas?

 

Thanks