I was almost able to create this automation but am confused about how to set up the variable.
After adding a message box activity, the instructions indicate to:
Set the Buttons property to YesNo.
Create an output variable called answer to capture the user’s choice
It does not specify what type of variable this should be. Should it be a Button, vs. a String? I am confused because the screen shot seems to indicate it is string when setting the condition:
answer = “Yes”
When I tried this by making it a string, then run the automation and select “Yes” for the answer, it still leads me to the “False” path and prints “Incorrect” in Notepad. But if I make the variable a “Button”, I am not sure how to set up the condition.
Any help would be much appreciated!
Side note: I downloaded the example provided but it is confusing. For some reason it does not contain the message box that asks the user “1+1=2?”.
Thanks for your reply. I don’t really get your comment. I literally copied the example. the output ‘chosen button’ is the variable answer, which is exactly the same as the example (answer, string, scope flowchart).
Then the condition for the flow decision is answer=“yes”
I tried to only use ‘answer’ but then I don’t have a ‘value’.
So, can you maybe send a screenshot of my example where I go wrong?
again saying you are mentioning wrong condition in flow decision. see below screenshot.
you are passing answer=“yes” but your message will return Yes so condition of string check will be answer=“Yes”