fluig_process_event_set_xml
Set a process event's source code by exporting, patching, and re-importing the definition XML. Creates a revertible new version with server-side validation.
Instructions
WRITE. Set the source of a process event through the supported path: export the definition XML, patch the event, re-import. Produces a NEW, revertible version and passes server-side validation. Try dryRun=true first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | COMPLETE source of the event (function name(...) { ... }). | |
| dryRun | No | Validate the patch without sending anything. | |
| confirm | No | Must be true to actually perform the operation. | |
| eventId | Yes | Event name, e.g. "beforeStateEntry", "afterTaskCreate", "afterProcessFinish". | |
| release | No | Publish the new version in the same call (default false). | |
| version | No | Source version to export (optional). | |
| processId | Yes | Process id. |