Skip to main content
Nintex Community Menu Bar
Solved

K2 Five Split Custom Logic Split Rules Multiple Conditions instead of nested if

  • February 3, 2025
  • 2 replies
  • 111 views

Forum|alt.badge.img+1

hello
I have a Split in K2 Five Canvas that has 3 paths 
I have a data field with each path as Boolean 
i wat to add
if (Datafield1 = true then Path1) 
if (Datafield2 = true then Path2) 
if (Datafield3 = true then Path3) 
but I cant because there is only nested if and I cant sperate the if conditions and i cant  remove the else 
how to do that ? thanks 
 

Best answer by tbyrne777

Have the split take all three paths (no conditions) and have the first step of each path be a decision to see if it should do whatever is needed on that path. If it doesn’t meet the condition, then just go straight to the merge. It is a bit messier on the canvas but ultimately easier to read and maintain this way.

2 replies

Forum|alt.badge.img+15
  • Scholar
  • Answer
  • February 3, 2025

Have the split take all three paths (no conditions) and have the first step of each path be a decision to see if it should do whatever is needed on that path. If it doesn’t meet the condition, then just go straight to the merge. It is a bit messier on the canvas but ultimately easier to read and maintain this way.


Forum|alt.badge.img+1
  • Author
  • Novice
  • February 4, 2025

that was helpful and done the job thanks