Effect of Cancel button in prompt user action when used in sub-macro

I’m writing a macro that asks if I want to run a number of sub-macros using if-then action.
The sub-macros have some prompt user actions as well.
During my initial testing, I’m noticing that if I hit the cancel button rather than choosing a variable option, it doesn’t return to the parent macro. If I uncheck the ‘cancel macro’ checkbox, and run the sub-macro and hit cancel - it continues on.

My desired result is to quit the sub-macro and return to the parent macro and continue that.

How can I do this?

Try this:

  1. In the sub-macro prompt, uncheck the cancel checkbox.
  2. Then use a If Then Else action (KM Wiki) Action to check for the Result Button, something like this:

That should return you to the calling Macro.

2 Likes

Do you have an example of such a full macro?
I'm having a bit of trouble with this myself

My examples are all tied up in long complicated marcos that I can't share unfortunately @gideonmurray, but the fix above did work for me.