Introduction

A process definition is a series of automated actions to achieve a certain business goal. Using process definitions, processes can be automated to sequentially transition between each task.

For example, the following processes can be automated:

  • Responding to a platform event.
  • Scheduling a job.

The benefits include:

  • Automation is totally driven by the user.
  • Automation is implement with a simple architecture that uses drag-and-drop options.
  • Custom business logic can be defined without any programming skills.

Key terms

The following are the list of common process terms:

  • Process: A process is a series of elements that work towards achieving a business goal. A process can contain multiple process flows, which represent multiple paths in a process.
  • Process Diagram: A process diagram is a graphical representation of a process. The process diagram can have events, tasks, sequence flows, and sub-processes.
  • Process Flow: A process flow is one possible path that can be taken in a process, as represented by following a sequence of arrows from left to right in a process diagram.
  • Events: Events determine how a process flow must start/end/send signals to other elements in the middle. In a process diagram, events are represented in circles. All processes must start and end with an event.
  • Tasks: A task refers to a single unit of work to be performed in a process. The task is represented as a rectangle with rounded corners.
  • Gateway: Gateways are flow elements that define the flow of a process.
  • Sequence flow: A sequence flow is an arrow that connects one element with the next element.

Process definitions workflow elements

List of element icons used in process definitions

IconNameDescription
Start EventStart event defines how to start a process.
End EventEnd event defines the process is complete.
Signal Start EventA signal start event runs processes when a specific event is triggered. For example, when an alert is created from a certain metric with a critical state.
Timer Start EventA timer start event runs processes based on a schedule that includes start time with a recurrence schedule. For example, a process can run every on the first Monday of every month at 9 AM.
TaskA task refers to a single unit of work to be performed in a process.
Send TaskA Send task represents a task that sends a notification to one or more users at a specified point in the process.
Script TaskA script task is used to run a script in the process. Run an Agent based script or Agentless script via Ansible control node. Agent based script can be created in the following languages:
  • POWERSHELL
  • Python
  • SHELL
Service TaskA service task is used to perform a service. The service can either be a service provided by OpsRamp or an external service.
User TaskA user task is a non-recurring work assigned to a user/user group for a certain stipulated time. Example: Clearing log files.
When a user task in the process definition is executed, a new service desk entity Task is created and appears in the task list of the assignee/assignee group.
GatewayGateways control the flow of execution in a process. The gateways can split one process flow into multiple process flows when a decision is made in the process. In addition to splitting a process flow, gateways are categorized by how they interact with the process flows.
Exclusive gatewayExclusive gateway allows modelling a decision and creating alternative flows in a process. It represents an EITHER/OR decision.
Parallel GatewayA parallel gateway enables the execution of concurrent activities. When a parallel gateway splits one process flow into multiple, it represents an AND decision, meaning all outflow paths will be considered.
Sequence flowA sequence flow connects two elements in a process. In a sequence flow, after the execution of an element in the process, all the outgoing sequences are followed.
Conditional flowA conditional flow is for executing a process under certain conditions.
Default flowThe default flow refers to the flow that has to be followed when none of the conditions are met.

Process definition steps

Process definition involves the following steps:

  1. Creating a process workflow.
  2. Deploying the workflow.