When using the workflow termination activity, display a message box

Hello,
I’ve created code using an if statement to terminate the workflow when a folder is empty. However, when using the Terminate Workflow activity, a message box appears.
I would like to prevent the message box from appearing.
I’ve tried using a try-catch, but it doesn’t seem to work as expected. Could you please provide guidance on how to achieve this?
Thank you in advance.
image

@22222222asas

You mean the log message?

If you terminate you would get it it cannot be suppressed

Can you show a screenshot

Cheers

1 Like

@Anil_G
Thank you for your response.
Is there no way to prevent the message box from appearing below in the screenshot?
Message : The workflow has been terminated by the terminate operation.

@22222222asas

In unattended runs or when you run from assistant you would not see it…it comes only in studio

This is a general pop up message for any error in studio

Cheers

@Anil_G
Thank you for the response.
It didn’t appear when I tried it myself!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.