Redwood Documentation

Product Documentation

 

›Processes and Chains

RunMyJobsProcess and Chain Definitions

Process Definitions

  • Creating Process Definitions
  • Setting Chain Definition and Chain Definition Properties
  • Integrating Redwood Server with Web Services
  • Redwood Definition Types
  • Maintenance Process Definitions
  • Template Process Definitions
  • Top Level Process Definition
  • Submit Form Editor
  • Default System Process Definitions

Processes and Chains

  • Advanced Chain Diagram Quick Reference
  • Chain Diagram Quick Reference
  • Chain Runtime Viewer Quick Reference
  • Advanced Chain Definition Editor Quick Reference
  • Advanced Chain Runtime Viewer Quick Reference
  • Advanced Diagram Quick Reference
  • Parameter Validation using Constraints
  • Processes Waiting on Events
  • Setting the Scheduling Behavior on the Control Tab
  • Setting the Retention Period for Processes
  • Runtime Limits
  • Setting Process Definition Options
  • Defining Parameters
  • Constraint Definitions
  • Constraint Class
  • Raising Events
  • Processes with Locks
  • Reaction Processes
  • Restart Behavior on the Process Status Tab
  • Searching Files
  • Setting the Name and Editing the Process Definition Source
  • Customizing Processes with Specific Actions
  • Using Table Parameters
  • Automatically Deleting Old Processes and Chains
  • Editing Process Definitions Safely
  • Parameter Formats

Chain Definitions

  • Using Chain Definitions
  • Creating Chain Definitions
  • Steps
  • Chain Processes
  • Creating Chain Definitions with Sequential Processes
  • Creating Chain Definitions with Parameter Handling
  • Creating Chain Definitions with Parallel Chain Processes
  • Creating Chain Definitions with Chain Processes Dependencies
  • Creating Chain Definitions for Multiple SAP Systems
  • Precondition Functions

Restart Behavior

  • Controlling Global and Partition Restart Behavior
← Constraint ClassProcesses with Locks →

Raising Events

Processes can be used to raise events when they reach a specific status, this allows you to trigger other chains and processes.

When a process or chain raises an event, the Raiser Comment field contains information on the raiser, this can be further customized.

The default raiser comment is the following:

Event raised by process:${jobid} (${jobdescription}) going to status ${jobstatus}.

The following substitution parameters are available for raiser comments in process definitions and chains:

  • ${jobid} - The ID of the raiser process.
  • ${jobdescription} - the raiser name, as displayed by the processes monitor at the time of raising the event.
  • ${jobstatus} - The status of the process at the time it raised the event.

Values

TabFieldDescriptionDefault Value
Raise EventsEvent DefinitionThe event definition the process will raise once it has finished.

Raise EventsRaise CommentThe comment the raised event will have.Event raised by process:${jobid} (${jobdescription}) going to status ${jobstatus}.
Raise EventsStatus To Raise OnThe status that makes the process raise the event once it reaches that state.Completed
Raise EventsError CodeThe error code of the process.

Raise EventsOnly Raised When > Time WindowTime window to use for restricting when the event is used, either open or closed in the specified time zone or the default time zone, when omitted.

Raise EventsOnly Raised When > ExpressionBoolean REL expression (returning either true or false)

Examples

  1. Attach an event to be raised on Weekends by processes of definition for status Completed.

  2. Choose "Definitions > Processes".

  3. On the Raise Events tab, choose Add.

  4. Select an event definition, fill Workdays in the Time Window field, select System_Week_WorkDays, select closed in the is field.

  5. Choose Save to save the chain definition.

  6. Attach an event to be raised by process 1 of the first step for status Error only if any of two events is raised.

  7. Choose "Definitions > Chains".

  8. Choose process 1 of the first step.

  9. Choose Raise Events, choose.

  10. Select an event definition, fill =Event.isEventRaised('Mypartition.MyEvent1') || Event.isEventRaised('Mypartition.MyEvent2') in the When expression field.

  11. Choose Save to save the chain definition.

JobChainRaiseEvent JobDefinitionRaiseEvent ProcessDefinitionRaiseEvent RaiseEvent

← Constraint ClassProcesses with Locks →
  • Values
  • Examples
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |