The Get superior graphical element 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 a swimlane.
Let's take a look at the «Leave of absence process». This process can be started by a sales rep or an accountant. The leave of absence request will, therefore, be approved by the Head of sales or the Chief accountant. If on the process diagram we place the "Get superior" item before the approval task, then ELMA365 will automatically calculate the right user and send them the leave of absence request for approval.
Double-click on the item on the diagram to open its settings. 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.