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 NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Display NameLiteralInputchanges display name of the activity
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
QuestionStringInputquestion, the answer to which is expected to be yes/no
AnswerBooleanOutputTrue/False value returned by activity
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult 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