State Diagram
  • 23 Sep 2022
  • 1 Minute to read
  • Contributors
  • Dark
  • PDF

State Diagram

  • Dark
  • PDF

A State Diagram is commonly used to track the objects' states and store operational data:

New SD .png

For example, State Diagrams track the following user states:

  • new
  • active
  • non-active

State Diagram's capabilities:

  • accounting of object states
  • storing data about objects in nodes
  • retrieving data on objects using the CONV function
  • no restrictions on the number of times it is applied in a process.

State Diagrams like processes work with data in tasks. To view tasks used in a State Diagram, go to the View mode and select the node, in which you want to view tasks:

SD task.gif

State Diagram allows using a limited set of nodes:

Node type Description
Delay Is used to delay the task in the node for the specified time. Time interval (delay) is specified in the Limit the time of the task in the node field
Condition It is responsible for processing task data using conditional operators “if …, then …”
Set state Allows you to track objects' states and store operational data
Code If you find the available node types limited, you can use a Code node to write a custom code than will be applied to a task in a State Diagram
Copy task Allows copying a task from one process to another with no interruptions while the original process is still running
Modify task Allows you to modify a task in another process by reference
Set Parameter Allows you to add new and modify existing parameters in tasks. It also allows you to apply various functions to the parameters
Queue Allows you to store data in a node

Creation and debugging of a State Diagram is the same as a Process creation and debugging.

What's Next