I'd like to trigger a process automation when a DOM instance is updated.
However in the process automation we set flags on the DOM instance which are needed further in the process automation chain. These sets in turn trigger the Update trigger, which in turn execute the script and do the flag sets.
How do we filter out that these flag-sets trigger the CRUD script?
The CRUD script will always be executed whenever those fields are updated.
To deal with this, maybe you could use an enum field descriptor with the name of the activities. That way, you'd be able to know at which point the CRUD script was executed.