Get Confirmation Logic Issue

  • 24 February 2016
  • 1 reply
  • 1 view

Badge +3

The Get Confirmation dialog seems to be causing a logic error in my rules.

 

The rules below, check a control's value and then shows messages of "1","2" or "3".

 

In the first case, if RowsAreSelected contains a value I get 1, if I click OK in the confirmation dialog I get 3 and if I click Cancel nothing shows after the 1. 

 

If I move the rules as shown below something unusal happens with the else. I would assume if RowsAreSelected has a value and I click Cancel I should get only a 1 but I get 1 and 2! If RowsAreSelected doesn't contain a value I only get 2. It appears a Cancel in the Get Confirmation causes it to follow the else condition, an else cannot be teamed with a Get Confirmation, so that makes no sense at all.

 

16169iF8C3B36B0030932B.png


1 reply

Badge +15

It seems the Get confirmation rule acts as an additional condition when you use it within a if-else rule. I found this useful little article that explains in depth how the Get confirmation works.

 

Reference:

http://codecodecode.ninja/2015/04/k2-smartforms-how-get-confirmation-from-user-action-works/

Reply