Usage Scenario: Dynamic Authorisation with Role Selection

When creating or editing a user in an administrator panel, it is necessary to dynamically retrieve a list of available system roles to select one. The Get Roles action is used for this.

Application Flow

  • Element: ‘Get Roles’ button or page load event
  • Trigger: OnClick
  • Action: Authorisation → Get Roles
  • Displaying Results: The roles received are listed in a Select Box element.
  • After Selection: The selected role is transferred to another action, such as Add User To Role or Create User, as a parameter.