Previous Topic: Assign the Group to Other Custom OperatorsNext Topic: Define Custom Operator-specific Pre and Post Execution Code


Custom Operator-Specific Pre-execution and Post-execution Code

CA Process Automation lets you define pre-execution and post-execution JavaScript code for custom operators. Pre-execution code is processed before an operator runs; post-execution code is processed after an operator runs. Custom operator users cannot override pre-execution or post-execution code that designers or developers with more permissions have already defined.

The code runs in the following order:

  1. User-defined pre-execution code.
  2. Custom operator-specific pre-execution code.
  3. The custom operator.
  4. Custom operator-specific post-execution code.
  5. User-defined post-execution code.