Hi,
We are working on a low code app that is used to connect sources and destinations. When the "Connect" or "Disconnect" button is clicked, an automation script will execute the necessary actions in the background. How can we indicate to a user that the connect or disconnect failed?
Using "engine.ExitFail" in the script does not seem to be handled properly. Is there any other functionality we can use to show to the user what has failed? Is our only option to change our script to be interactive?
Hi Joey,
We have an item on our backlog which will enable displaying the output of an automation script.
The idea is that a script will have an 'On completed' and 'On failure' event handler which can be used to trigger additional actions. This could then be used to display a toast or banner notification. One of these approaches will be automatically added when configuring the execution of an automation script.
Please reach out if you feel this approach seems suitable for your use case.
This is probably only applicable on Dashboards. Would it also be possible to use this on a Visio?
Jarno, In Visio you can use the ScriptOutput feature and push its content to a session variable
This is currently scoped to Low-Code Apps.
Hi Sebastiaan, this sounds exactly like what we would need!