Business Process Designer > Sequence diagrams > Steps / Get superior

Get superior

clip0052 The Get superior step automatically finds the immediate superior of the current user according to the company's org chart. The obtained value is written into a context variable, which can then be used, for instance, to specify the executor of the process step.

Let’s take a look at the Application approval process. This process can be started by any employee. The application can be approved by the employee’s superior. If you put the Get superior step before the approval task, the system will automatically determine the right user and send them the application for approval.

GSu1

Step settings

To open the settings window, hover the mouse over its number and click clip0053.

In the provided window, specify the context variable that will store the initiator's superior once the system identifies them. You can select an existing variable from the drop-down list or create a new one. Please note that here you can only use variables of the User type.

GSu2