Configuring a process for runtime

This procedure describes runtime configuration. This configuration affects level of detail to be maintained in log files and how notification about process execution occurs.

Note: The process you configure must already be uploaded onto the system.
  1. Access the Process Server Administrator and select Configuration > Process Definitions. Depending on the process you want to configure, select User, System, or Application Defined Processes.
  2. From the list of available processes, open the process you want to configure.
  3. Specify this information:
    Current Process Version
    Specify the version number of the process that will execute if multiple versions have been created. By default, the system always runs with the latest version, which has the highest number.
    Process Is Enabled
    A process must be enabled in order to run. When you are ready for a process to begin executing, verify that this option has been selected.
    Sub-process
    Select this option to define your process file as a sub-process.
    Capture Activity Start And End Times
    Logs the start and end times for activities even if Activity logging is not used.

    Enabling this setting can negatively impact the performance of the process.

    Workunit logging

    Select one of these levels of logging detail:

    • Disabled: Logs only failures.
    • Enabled: Logs information for the work unit as a whole, including start and stop times, and variable information.

    Any selection in addition to None can negatively affect performance.

    Log Buffer Size
    Specify the maximum size for the log file that is allowed to be in memory before it is written to the database.

    If logging is enabled, a larger buffer size means better process performance.

    Notify by Email
    Use this option to determine when a system administrator receives an email notification about flow execution. The email is sent from the address (mailFrom) and server (mailServer) specified in the system configuration.

    See Configuring mail and timeout properties.

    Select one of these options:

    • None: No email is sent in any case.
    • On Completion: Sends an email only upon successful completion.
    • On Failure: Sends an email only upon non-completion.
    • Always: Sends an email in any case.
    • On Failure Or Activity Error: Sends an email upon non-completion, or when there is an activity error.
    Note: When you enable the Notify by Email setting, which is when you select On Completion, On Failure, Always, or On Failure Or Activity Error, the Email Notification Information tab is displayed. To avoid encountering issues in email assignment, perform either of these two options:
    • In the Email To field, replace <!_ProcessOriginatorEmailAddress> with the actual email address of the recipients of the notification.
    • Set up your process in IPD such that <!_ProcessOriginatorEmailAddress> will be populated with the email address of the recipients of the notification.
    Cancel Check Frequency
    You can configure the frequency by which your process flow checks for workunit cancellations by selecting between these two options:
    • Immediate: This option checks for work unit cancellation after each activity node completes processing.
    • Intermittent: This option checks for work unit cancellation at most every N seconds.
    Cancel Check Seconds

    This field is only enabled when you select Intermittent in the Cancel Check Frequency setting.

    Specify how frequent, in seconds, the workunit cancellation check should be performed. For example, you can specify 20 seconds, that is, the process flow will only check for work unit cancellation every 20 seconds.

    Error Limit Before Termination
    Specify the error limit before termination for existing flows. For existing flows, it defaults to the hard limit set by Cloud Operations.
    Current Process Auto Restart
    Select Enabled or Disabled. This option should only be enabled if the process is designed or implemented in a way that can be safely restarted.

    See Enabling a flow to be restarted from the beginning for details.

  4. On the Process Versions tab, you can view information about all versions of the process that have been uploaded.
  5. On the Variable Names tab, you can add up to 10 persistent variables for the process.
  6. On the Workunit Data Cleanup tab, select the correct pruning action, if any.
  7. On the Activity Limiter tab, you can specify the soft limit settings, hard limit settings, and activity limiter email settings.
  8. Click Save.