In this document we would talk about the types of nodes that is provided by IDHub and their basic purposes. We have basically 3 types of nodes which are as follows:

  1. State Node

  2. Action Node

  3. Operation Node

State Nodes

Now let’s talk about the state nodes. The State node represents a request state in the workflow. This node does not perform any function. A flow is stopped when this node is reached. Examples of this node are shown in the screenshots below:

You can always click on the State Node and then Define your own custom name and state for the node.

Action Nodes

Now let’s talk about the action nodes. This represents a workflow / task action. Normally you should be presenting this immediately after the state node. The main purpose of the Action node is that it is used to basically a trigger a flow. You should also ensure that you perform a validation check, before you trigger the flow.

IDHub provides you 2 types of Action Nodes:

Condition Node:

Condition is a type of Action Node, which basically enables you to define a condition before you trigger a flow. An example of the condition node is shown in the screenshot below:

As is shown in the screenshot above, the name of the condition node is entered over there and also the exact condition i.e. the validation check that you want to perform is also defined in the Condition Field of the condition node. In this example, the condition node checks that the the Approver2 entity is present (in other words approver2 is NOT EQUAL to undefined)

Action Node:

Now this type of nodes as the name suggests denotes some type of action. An example of the action node is given below:

As you can in the above screenshot example, that an Action Node (Approver1 Approve) is defined and the action which is mentioned in the field is “Approve1” meaning that the Approver1 is going to do the “Approve” action.

Operation Nodes

Now let’s talk about the operation nodes. Operation nodes are basically used to execute small atomic operation required to complete a transition in the workflow. So this type of nodes are basically custom develop nodes in order to perform a particular function. Some operation nodes which are available for you in the editor are shown in the screenshot below: