My FNZ Studio Version
The article you are currently reading is not compatible with your selected My Appway version.

Application Business Components (ABCs)

Latest Update: 15.04.2026 | Margherita Taffarel
Documentation
7
8
9
10
11
2022.1
2022.2

The Role Manager is currently End of Support.

1 Role Manager Application Business Component

1.1 Introduction

The Role Manager allows assigning parties to the roles that are required for the business relationship, such as the account holder and beneficial owner.
All mandatory roles need to be completed while optional roles can be added if needed. Certain roles allow sub roles to be defined. Depending on the chosen type of party (natural, legal, or trust), additional roles may become mandatory. Depending on the type of role, different numbers of parties can be assigned.

The default implementation of the Role Manager Application Business Component is shown below:
RoleManager1.png

1.2 Role Manager Business Overview

With the Role Manager component, users can link a party (a natural party, a legal entity or a complex party such as a trust) to one or multiple business roles (such as an account holder, beneficial owner, power of attorney, and so on). The roles depend on a rule that must be specified at runtime. Depending on the use case, some roles are mandatory, while others are optional. The Role Manager aims at solving the problem of hierarchical dependencies between data objects, for instance “Relation > Person” or “Person -> Person” and, in general, “Object -> Object”.
The latest Role Manager maintains the possibility of solving the same use cases as with the previous module and also extends them without the need of creating other Data Classes.

The Role Manager does not provide Search functionality out of the box or the possibility to inspect the details of a Party after it has been assigned to a role by the end user. Use the Entity Search Application Business Component Entity Search Application Business Component to implement the a search and the selection of search results in your Appway application. Further inspecting a Party object has to be implemented in the Solution as well..

RoleManager3.png

Since the construct of dependent roles can be extensive, users need an overview of the entire tree. For this reason, the Application Business Component offers a read-only visualization.

2 Role Manager Design Guidelines

The Role Manager uses the following patterns:

  • Activity screen
  • Master-detail list:
    • List of roles
    • Role detail

2.1 Role Manager Activity Screen

The following figure shows the Role Manager in its initial state. No roles have been assigned.

RoleManager2.png

2.2 Master Detail

The master-detail list divides the page content into two columns, the list of roles, and the role detail.

2.2.1 Master-Detail – List of Roles

The column on the left contains an entry called All Roles and a configurable list of roles, typically the mandatory and most common ones. Additional roles can be added by the user on demand. Every master item indicates whether the role is mandatory, the role name, a label summary describing the content (e.g. Not Started), and a status icon (i.e. a checkmark symbol) that is shown once the role has been assigned a party. Since the list of roles shows only one level, sub-roles are displayed in the role detail on the right.

2.2.2 Master-Detail – Role Detail

Follow these steps to edit the role details:

  1. When you select a role on the left column, the name of the role’s party is shown in the detail column on the right. If a role has no party assigned yet, an edit form is presented.
  2. Edit the role. Depending on the role, only one or a defined number of parties can be assigned. The minimum number of required roles is presented in an inline form by default. However, additional roles and sub-roles can be added by the user if needed. Beneath the title of the role detail an instruction text informs about the number of expected roles, e.g. “Add at least 1 authorized signatures”.
  3. Once the edit in the role detail has been confirmed, the status of the according master item on the left column gets updated.
  4. Select the All Roles master item to get an overview of all defined roles. The read-only overview offers two different representations:
    • Collapsible tree list
    • Organizational chart

2.3 Special Cases

2.3.1 Special Case – Creating a New Party

The Role Manager does not allow creating new parties ‘on the fly’, since only existing parties are available as options when assigning a role. To add a party to the list of options, the party needs to be searched for in a third-party system by using the Entity Search Application Business Component. If the Party does not yet exist, it need to be created first. Please, refer to the Entity Search Configuration Kit for guidelines on how to implement the party creation in combination with the search step covered by the Entity Search Application Business Component.

2.3.2 Special Case – Restricted Party Selection

Roles can have business restrictions set, e.g. minor parties may not eligible for a role. If business restrictions apply, a dedicated instruction text is shown in the role detail, informing the user about the rule in place, e.g. “Add exactly one account holder. The party must be at least 18 years of age”.

3 Role Manager Technical Guidelines

The basic data model (such as Party, PhysicalParty, LegalEntity, and so on) needed to use the Role Manager Application Business Component is included in the component itself. We recommend that you either move the Data Classes from the Package to another Package and modify them or that you leave the data model in the Role Manager and extend it. The vanilla implementation is based on the extension of the data model.
Screen implementation is based on one simple rule: since Design System is used, templates and screens were wrapped, when needed, to extend basic functionalities.

3.1 Role Manager Minimum Requirements and Dependencies

3.1.1 Required Appway version

The Role Manager Package requires:

  • Appway Core 7.2.4 or higher and Design System 4.1.0 or higher for Role Manager 1.3
  • Appway Core 8.0 or higher and Design System 5.0 or higher for Role Manager 2.1.
  • Appway Core 9.0 or higher and Design System 6.0 or higher for Role Manager 3.0.
  • Appway Core 10.0 or higher and Design System 7.0 or higher for Role Manager 4.0.

3.1.2 Required Extensions

The following extensions must be installed:

  • HierarchyTree 3.0.3 or higher
  • Functions (version compatible with Appway Core)
  • Component (version compatible with Appway Core)
  • DefaultIcons (version compatible with Appway Core)
  • (Only for Role Manager 1.x and 2.x) ScreenValidationAddons (version compatible with Appway Core 7.2 or 8).

3.1.3 Required Packages

The Role Manager Package may use Visible Business Objects from the following Packages:

  • Hierarchy Tree Core Package

For more information on the Hierarchy Tree Package (Business Objects, usage and configuration), see the Hierarchy Tree Package article.

3.2 Role Manager Upgrade Guide

3.2.1 Upgrading from Role Manager 2.x to Role Manager 3.x

Role Manager 3.1 is based on Design System 6. To enable the updated Master Detail on smaller screen devices, it is necessary to wrap the whole template around an Ajax Update Area Screen Component and trigger it when navigating across the different entries. This requires the following changes in the Role Manager:

  • RoleManager:IncludeRoleManagerEntries — Remove the Ajax Update Area with the HTML Id aua-roles-entries and keep its children.
  • RoleManager:IncludeRoleManagerContent — Remove the Ajax Update Area with the HTML Id aua-roles-content and keep its children.
  • RoleManager:RoleManager — Wrap all the content around an Ajax Update Area with the HTML Id aua-roles-content.

4 Role Manager Performance Analysis

4.1 Performance Testing Approach

Performance testing allows determining how a system performs in terms of responsiveness and stability under a specific workload. Performance testing includes categories such as: Load Testing, Stress Testing, Spike Testing, Configuration Testing, Isolation Testing, etc.
As the goal of this initiative consists in removing bottlenecks in the components and optimize their code, a lower priority was granted to Load and Stress testing as these are strongly influenced by the infrastructure the system is running on. Instead, the tests focus more on the isolation of bottlenecks in the different components.

Testing Approach:

  • Manual testing was performed with HTTP enabled.
  • Multiple test cases were executed with the measurement of the execution time of each screen processing phase.
  • 10 tests were executed for each use case and the average execution time was computed.

The Role Manager component has been performance-tested up to 51 parties. The response time for most operations was below 1s, except for the most expensive operations performed, which should be exceptional cases. Consider the following: 1. Results were achieved using the component without customizations. Adding rules, validations and logical operations to each interaction might significantly impact response times. 2. Tests were conducted on a system under no additional workload. Therefore, results under load might differ.

4.2 Tested Use Cases for Role Manager

Common parameters:

  • 51 parties defined in the test process
    • 1 legal
    • 50 physical
  • 4 mandatory roles defined (Account Holder, Beneficial Owner, Administrator, Authorized Signatures)
  • No mapping defined between the 51 parties and the 4 roles
  • No optional roles defined, 8 available for user selection

Test cases:

  1. Start the Test Process
  2. Add parties to a role without signatures (1, 5, 10 and 50 at a time)
  3. Add parties to a role with signature (one at a time)
  4. Add parties to a company as sub-parties (10)
  5. Add a new role
  6. Navigate between roles (20 parties mapped, 100 parties mapped)
  7. Delete party from role (20 parties mapped, 100 parties mapped)

4.3 Role Manager Test Results

Following is the test result summary:
RoleManagerTestResults.png

© 2026 Appway AG. All Rights Reserved