Basing your exit on your entry

Users sometimes want to have several different entry conditions, and several different exit conditions. However, they only want to exit using exit condition 1 if they entered with entry condition 1. Same with entries and exits 2,3, etc. So here’s a way to do it:

If you have entry conditions:

EntryCond1
EntryCond2
EntryCond3

you can make exit conditions:

And2(ExitCond1, A=B(ValueWhenEntryActivated(EntryCond1),1))
And2(ExitCond2, A=B(ValueWhenEntryActivated(EntryCond2),1))
And2(ExitCond3, A=B(ValueWhenEntryActivated(EntryCond3),1))

Was this article helpful?

Related Articles