How to Implement 'Else' Branch of Conditional Logic

  • 21 November 2011
  • 1 reply
  • 5 views

Badge +5

Pardon my ignorance if I'm missing something simple, but I can't figure out how to cleanly design the 'else' branch of a logical condition in Studio.


After my process starts there's three possible routes for the process to follow. On two of the lines I have conditions, which are reasonably specific, and the process only follows that path if the conditions are met. 


But I want to follow a third path, only if the first two conditions are not met. I'm finding that I have to recreate the negative of the conditions in the first two paths. In my mind this is simply 'try the other two first, if that fails follow this route.' Is there a way of 'ordering' conditions in Studio and following the first match?


1 reply

Badge +10

Hi,


I guess the simple answer is that you cannot order line rule evaluation.


I can think of one way to accomplish this more cleanly. Have an activity when your process starts which evaluates the logic using a DataEvent. Write the result to a DataField and then build your line rules to simpy use the data field for evaluation.


HTH

Reply