We need to check LCA edit form data before saving by an automation script that returns message and want to show the message in a popup dialog in LCA.
Hi Harald,
It is possible to add a script output with Engine.AddScriptOutput, which is accessible when executing scripts in LCAs:
- When the script is executed using a button, the component will expose 'script outputs' data with the added values.
- From DataMiner 10.5.9 onwards, the output of scripts can also be used in post actions after a 'Launch a script' action. This output can then be used to update a variable, execute other scripts, ...
Hi Wout,
the script is invoked by a state transition button by a transition action. I do an engine.ExitFail(text) in the script for invalid data.
On pressing the transition button in the edit panel now a red message very shortly (< 1 second) is exposed. How to a achieve stable display of the message?

If I understand correctly, the script is triggered by a state transition of a DOM instance in a form component. I checked our backlog and it is a known issue that the transition error is only shown for a very short time. There is currently no workaround for this, we will let you know here once this is fixed.
Hi Wout,
our system has to go into production in November.
Do you have a date for the fix?
A suggestion is to show script output in a popup dialog overlaying the edit panel. May be this as an optional functionality/property.

Hi Harald, there is no date or priority defined for this task. I suggest you get in touch with your contact at Skyline so they can discuss this with the correct teams.
Can we use text of functions engine.ExitFail(string reason) or engine.exitSuccess(string reason)?