In this document we discuss, “Auto Role Approval Workflow”, which is one of the out-of-the-box workflows provided by IDHub.

Auto Role Approval Workflow Description

In this section we explain the steps and flows, taken by IDHub, to execute the “Auto Role Approval Workflow”.

  • The first step is a “State Node”. A state is one of the several states/statuses in IDHub. This represents a request state in the workflow. This node does not perform any function. A flow is stopped when this node is reached. When a request is submitted, by default, the state is “Request Submitted”. The first step in this workflow is “Request Submitted” state node.

  • In the next step, we have the “Action Node”. The Action Node denotes a task action, or a workflow action. It is present immediately after the state node, and it is used to trigger a flow. In our case, the action node would be “Start”.

  • Thirdly, we have the “Operation Node”. This node is used to perform small atomic operations, required to complete a transition. Operation Nodes are custom developed nodes, used to perform a particular function.

    • Complete Approval operation node, means the role has been approved.

  • The request is now deemed complete, and we have the state node “Request Completed”.