I currently have a button in low-code app to run a process automation chain.
I however want to automatically trigger this action.
How do I do this?
Do I need to trigger this from the element which is updating the DOM instances?
Jeroen,
Can you describe when you want the PA chain to be triggered ? Is it when user creates a DOM Instance or when the DOM Instance gets updated ?
We have a status field which on change of this field we would like to trigger the script.
What I fear a bit with the CRUD method is when a delete script fails, the instance would be gone so a retry is not possible.
I would suggest to introduce a new state (ie : ‘Deleting’ or similar ) and trigger the process when going to that state. In case script would fail, you can still re-trigger.
Do I then use the CRU (without the D)?
Is there already a DOM Editor version that allows configuring this script?
Yes, such a configuration is available in the DOM Editor
If that is the case, then you can use the ‘CRUD Script’ feature. It allows you to launch a custom automation script each time a DOM Instance gets created/updated/deleted.
More info : https://docs.dataminer.services/user-guide/Advanced_Modules/DOM/DOM_ModuleSettings/ExecuteScriptOnDomInstanceActionSettings.html