Show Yes/No Box
As a result of this activity an additional window with text from Question textbox and yes/no buttons are displayed on the screen, waiting on user's decision. The scenario is suspended until user presses one of the buttons. Declare a Boolean variable and put it in Answer textbox in Output part of properties window. This variable will store the user's answer (True for yes button, False for no button).

Parameter Name | Parameter Type | In/Out | Description |
---|---|---|---|
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Display Name | Literal | Input | you can change the name of activity for greater clarity of the scenario |
Exclude from Transaction Check | Boolean | Input | checkbox; default is "off" |
Question | String | Input | question, the answer to which is expected to be yes/no |
Answer | Boolean | Output | value returned from activity |
Result | Boolean | Output | returns the Boolean value: it will return True if no error is in activity, otherwise it will return False |
Result Code | Int32 | Output | Result Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities |