My FNZ Studio Version

Application Business Components (ABCs)

Latest Update: 13.11.2023 | Margherita Taffarel
Documentation
2022.2

1 Introduction to App Tasks

1.1 Documentation Resources

2 Data Logic Configuration

2.1 Page Navigation and Layout: Group Controls

2.2 Content Area: Primitive Types

2.2.1 Text Component

2.2.2 Text Area Component

2.2.3 Date Picker Component

2.2.4 Dropdown List Component

2.2.5 Radiobutton List Component

2.2.6 Radiobutton Component

2.2.7 File Uploader Component

2.2.8 String Component

2.2.9 Email Component

2.2.10 Phone Number Component

2.2.11 Typehead Component

2.3 Content Area: Text Control

2.4 Information Framework: Data Logic Rules

2.4.1 Violation Highlighting

2.4.2 Violation Prevention

3 Data Class Configuration: File Uploader

3.1 Blob Storage Configuration

3.2 Data Class Configuration

3.2.1 Configuration Example

4 Process Editor Configuration: App Task Properties

4.1 Task Types

5 Process Editor Configuration: App Task Actions

5.1 Setting App Task Actions

5.2 Global Actions

5.2.1 Predefined Actions (Back)

5.2.2 Custom Actions

Custom Actions Types: Details

6 Process Editor Configuration: App Task Collaboration

6.1 Configuration of Collaboration Features

6.1.1 Comment and Review Request

Review Requests and Value Store Splitting

Data Clean-Up and Data Auditing

6.1.2. Comment Access Control

7 App Task 'Home' Button

8 Localization

8.1 Labels and Translations

8.2 Number and Date Localization

9 Theming (Theme Editor)

9.1 Creating and Configuring a Theme Package

9.1.1 Prerequisites for Theme Editor Access and Theme Package creation

9.1.2 Creating a Theme Package

9.1.3 Configuring a Theme Package

9.1.4 Assigning your Theme Package to your Solution

Upgrade Note on Default Theme Changes

9.2 Theme Editor Configurations

9.2.1 Typography

9.2.2 Logo

9.3 Theme Package Configurations

9.3.1 Favicon

9.3.2 Banner

9.4 Theme Editor Updates

9.4.1 Update Themes

9.4.2 Recompute Values

Further Resources

Some features described in this article may subject to separate surcharge. See the Product Licensing article for specific licensing information for each App Task.

Note that the Appway Platform has been renamed FNZ Studio (also referred to, generically, as Platform in this article). Appway Studio (design-time environment) and Appway Workspace (runtime environment) have been renamed FNZ Studio Composition and FNZ Studio Runtime, respectively. Refer to our Renaming article for full information.

1 Introduction to App Tasks

An App Task is a category of Process Tasks that comes with its own User Interface (UI) built as a single-page application. Such UI is not based on Screen Business Objects but, rather, it is entirely generated based on Data Class and the Data Logic Business Objects.

App Tasks can be combined with other App Tasks and "traditional" Process Tasks in the same Process instance to cover all the requirements of Solutions.

Currently, available App Tasks are:

  • Data Gathering App Task, used within the Data Gathering Application Business Component
  • Data Review App Task, used within the Business Data Comparison (v4 and higher) Application Business Component
  • Relationship Definition App Task, used within the Relationship Definition Application Business Component
  • Digital Binder App Task, used within the Digital Binder (v5 and higher) Application Business Component

This article guides you through configurations common to all App Tasks. See the documentation resources listed below for configuration details specific to each separate App Task.

1.1 Documentation Resources

Refer to the documentation of each separate Application Business Component and App Task for specific information:

2 Data Logic Configuration

In ABCs, the whole UI is generated starting from the Data Logic Business Object according to mapping strategies specific to business requirements.
The Autogenerated UI is composed by the elements illustrated in the following image. The table below summarizes the corresponding Data Logic configurations. Consider these are general guidelines, as configurations may vary depending on each App Task (see the separate App Task documents linked above for further information).
DataLogicConfigurationV2.png

UI element Data Logic configuration
Page navigation, including:
  • (1) Header navigation (first-level navigation)
  • (2) Page navigation (second-level navigation)
  • (3) Anchor navigation (content navigation)
Data Logic 'Group' Controls (see details).
(4) Content area Data Logic 'Data' Controls (Data Class, Primitive and Collection Controls) and 'Text' Controls (see details for Primitive Types and Text).
(5) Information Framework: Contains change-highlighting strategies to support the end user in finding and fixing such changes in the most efficient way. Data Logic Data Rules (see details).

2.1 Page Navigation and Layout: Group Controls

Page navigation and page layout are based on Data Logic 'Group' Controls alone.

Full details can be found in the Data Logic 'Group' documentation.

The Data Logic allows you to specify two types of 'Group' Controls:

  • Field Set Group — Should only contain fields that are strongly correlated semantically and can be shown on the same row at the same time. Such elements are represented as part of the same group:
    • start date / end date
    • zip / city
    • street / street number
    • amount / currency

EnteringDataFieldSetGroup.png

See an example of Field Set Group inside the ValidationStarterKit:Address Data Logic.
  • Section Group — Allows defining sections to group specific Controls together, e.g. all the fields for the KYC, or all the fields regarding the family of a party (marriage status, name of husband, number of children, and so on). App Tasks use Section Groups to structure page navigation. It supports four navigation modes, based on the level of nested groups, as illustrated below:

    Mode 1:
    DataLogicGroup2.png
    Mode 2:
    DataLogicGroup3.png
    Mode 3:
    DataLogicGroup4.png
    Mode 4:
    DataLogicGroup5.png

    Groups at the fourth level of navigation are simply represented in the content area as titles.

2.2 Content Area: Primitive Types

The elements in the Content Area are configured starting from Data Logic Controls. Primitive Types are mapped into input control elements such as text, date picker and so on.

The following sections illustrate how components can be displayed depending on the selected Primitive Types and Data Rule configuration. For example, a text field component is displayed when the field is of type String and neither a Catalog Values Rule nor a Single-Property Expression Rule with the Multiline property set to true are configured. However, a dropdown list is displayed when the field is of type String (or Integer, Date, Float etc.) and a Catalog Values Rule is configured with the Size property set to can return a large number of results.

Starting from FNZ Studio 2022.2, read-only mode is supported for Primitive Types. Note the following behavior: if the Sentry state for the control is disabled, Primitive Types are shown as text (read-only) when first loaded to the page. If, instead, a control switches its Sentry state from enabled to disabled, it is shown as disabled, meaning that the look and feel of the control is preserved, but it is grayed out and becomes unusable until the state switches back to enabled.

2.2.1 Text Component

Text component

  • Primitive type: String, Integer/Long, Double/Float
  • Configuration: No Catalog Values Rule, Allow Multiline property (Single-Property Expression Rule) set to false. See configuration details.

2.2.2 Text Area Component

AppTaskTextArea.png

  • Primitive type: String
  • Configuration: No Catalog Values Rule, Allow Multiline property (Single-Property Expression Rule) set to false. See configuration details.

2.2.3 Date Picker Component

Date Picker component

  • Primitive type: Date
  • Configuration: No Catalog Values Rule

2.2.4 Dropdown List Component

Dropdown List component

  • Primitive type: String (Integer/Long, Date)
  • Configuration: Catalog Values Rule with Size property set to ‘can return a large number of results’. See configuration details.

2.2.5 Radiobutton List Component

Radiobutton List

  • Primitive type: String (Integer/Long, Date)
  • Configuration: Catalog Values Rule with Size property set to ‘always returns a small number of results’. See configuration details.

2.2.6 Radiobutton Component

Radiobutton component

  • Primitive type: Boolean
  • Configuration: With or without Catalog Values Rule

2.2.7 File Uploader Component

FileUploaderComponent.png

  • Primitive type: Blob:file
  • Configuration: Data Class Control. See additional configuration details.

2.2.8 String Component

StringComponent.png

  • Primitive type: String
  • Configuration: String Data Rule. See configuration details).

2.2.9 Email Component

EmailComponent.png

  • Primitive type: String
  • Configuration: Email Data Rule. See configuration details).

2.2.10 Phone Number Component

PhoneNumberComponent.png

  • Primitive type: String
  • Configuration: Phone Number Data Rule. See configuration details).

2.2.11 Typehead Component

TypeheadComponentLazyLoading.png

  • Primitive type: String
  • Configuration: Catalog Values Data Rule with Lazy Loading configured. See configuration details.

2.3 Content Area: Text Control

When it is necessary to provide extra information to end users to support them in the process, a possible option is to add a 'Text' Control inside the Data Logic.

Full configuration details can be found in the Data Logic 'Text' documentation.

The Text Control is rendered as an information message. Use the Text Control in the following cases:

  • Long instructions
  • Instructions that affect several fields
  • Instructions that contain a computed value
  • Warnings caused by external factors (and not by the App Task fields themselves)

Data Text Control showing Information and Alert

2.4 Information Framework: Data Logic Rules

All App Task provide continuous guidance to the user while entering data: this helps identify whether there is a rule violation and – if possible – prevent rule violations in the first place.

The Data Logic Business Object is used to configure several aspects of App Tasks. See each separate App Task document for complete information.

Rule violations are crucial information for the user. A rule violation occurs when a predefined rule is violated. Each Application Business Component may show violations in a slightly different way (see each separate ABC document), however, there are basically two different types of violations:

  • Blocking Issues — Must be fixed in order to proceed and end the task. At the level of page content, each property affected by this type of violation is marked as follows:
    BlockingIssuesExample.png
    1. Blocking issue icon
    2. Blocking issue message
  • Warnings — Suggestions on how to improve the quality of the data entered. Fixing them is not required to proceed and end the task, but it is recommended. At the level of page content, each property affected by this type of violation is marked as follows:
    WariningsExample.png
    1. Warning icon
    2. Warning message

Violations are configured through Data Logic Rules. See the following sections for more details.

2.4.1 Violation Highlighting

Data Logic Rules are used to highlight violations. Specifically:

  • The message specified in the Message property (1) is shown for each item specified in the Mandatory Fields property (3).
  • The Blocking property (2) affects the representation of the violation: red for a blocking issue, yellow for a non-blocking issues (defined as a warning in the UI).

Mandatory Fields in Data Logic and how they highlight violations

Full configuration details can be found in the Data Logic 'Mandatory Fields' documentation.

2.4.2 Violation Prevention

While for all Rules a violation is highlighted so that the user can address and correct the issue, for some Data Rules it is also possible to help the user avoid mistakes in the first place. Such Rules should be used as much as possible as they improve efficiency for the end user.

ViolationPrevention.png

Specifically:

  • Mandatory Fields Rules — Affected fields display the asterisk ( * ) even when the field is filled.
  • Catalog Values Rules — Fields associated with a Catalog are not mapped to a text field component, rather, the ABC (e.g. Data Gathering) allows the end user to select only valid values by providing:
    • A dropdown list or radiobutton list for single objects
    • A multiple selection field or a checkbox list for Indexed Collections
      The Size property of a Catalog Values Rule determines whether a dropdown list/radio button or a multiple selection field/check box is displayed.
  • String Rules — String Rules allow defining constraints on a Data Class property of type String, such as the maximum and minimum size of the String. String Data Rules include:
    • Email — Allows defining additional constraints on a String Data Class property which contains an email address.
    • Phone Number — Allows defining additional constraints on a String Data Class property which contains a phone number.
  • Eligible Types Rules — Given a Data Class hierarchy where one or more child Data Classes inherit from a parent Data Class, an Eligible Types Rule defines the subset of Data Class types that can be instantiated and stored in a variable, property or collection element of the parent Data Class type. App Tasks use this information to better support the creation of elements inside a collection by proposing to add only eligible types.
    Full configuration details can be found in the Data Logic 'Data Rules' documentation.

3 Data Class Configuration: File Uploader

The File Component mentioned above provides a so-called File Uploader, which allows document uploading.

The File Uploader is available in the Data Gathering and Digital Binder App Tasks.

The configuration of the File Uploader consists of two steps:

  1. Blob Storage configuration (performed by the system administrator)
  2. Data Class configuration (performed by the developer configuring the App Task)

3.1 Blob Storage Configuration

  1. File uploading in the Data Gathering or Digital Binder App Tasks use Blob Storage capabilities. As a system administrator, check the Blob Storage User Guide for full information. You might also want to check the System Installation guide.
  2. Moreover, there are three Blob Storage-related properties that you need to consider:
    • nm.ddws.blobStorageSilo— Holds the name of the silo that is used by the AppTask. Check the Blob Storage documentation for full information.
    • nm.blob.storage.rest.blob.max.size — Acts as a hard file upload limit on the Platform, and specifies the maximum size of the accepted files. Its value is expressed in bytes and its default value is 209715200 (200 MB). Consider that this configuration property has precedence over the File Constraints defined in the Data Class (see section below), e.g. if you try uploading a 10GB file, this setting protects the Platform by already aborting the upload after 200 MB.
    • nm.blob.storage.rest.preview.media.types — Comma-separated list of Media Types for which a preview is displayed. Consider that, for image types, a preview is always displayed, while you need to set this property for other media type to be previewed.

3.2 Data Class Configuration

To configure a Data Class for file uploading, you need to perform the following operations:

datalogicfile.png

  1. As a prerequisite, you must declare a dependency on the Blob Platform Package in the properties of your current Package.
  2. Add a property of type Blob:File or Indexed Blob:File to your Data Class. This step is necessary to provide file uploading capabilities (a validation warning is issued otherwise):
    • In the Properties tab of your Data Class (e.g. Passport), select Blob:File as a Type. For indexed collections, select Indexed Elements as a Collection Type.
    • (Optional) Select a Catalog Business Object from the File Constraints selector. This allows applying constraints on the type and maximum size (in KB) of the files that can be uploaded. Such constraints must be defined in a Catalog Business Object containing columns named exactly 'MediaType' (e.g. image/jpeg) and 'MaxSize' (e.g. 5000). Consider that the 'MediaType' column can also contain placeholders, as in the following examples (see the attached FileConstraints MediaTypeColumn PDF for a full list of supported media types):
      • image/*: Any image type can be uploaded
      • */*: Any file type can be uploaded (this is used for specifying only the 'MaxSize')
        Consider the following:
        • If multiple types match the uploaded file, the most restrictive one applies as for the MaxSize, e.g. if the Catalog contains image/png, image/* and */*, and a .png file is uploaded, the maximum size restriction from image/png applies.
        • If there are two rows with the same or equivalent media types (e.g. application/xml and text/xml) but different MaxSize values, the most restrictive MaxSize value applies.

        Consider that the nm.blob.storage.rest.blob.max.size set by the Platform administrator acts as a file upload hard limit on the Platform ans takes precedence over the file constraints set on the Data Class. See details.
    • Drag this Data Class Control in your Data Logic Business Object.
  3. At this point, a File Uploader is already in place. However, you can use a Document Behavior to add Solution-specific business metadata, as well as organize files in folders.
    You can see a File Uploader configuration example in the section below, and full information on the Document Behavior in the Data Class Behavior document.

3.2.1 Configuration Example

Following is an example of how you can configure a File Uploader with a Document Behavior in a Data Gathering App Task. A similar example may apply for Digital Binder App Tasks.

filefolderstructure.png

  1. The capability of previewing a file is managed by the nm.blob.storage.rest.preview.media.types configuration property set by the Platform administrator (see details).
  2. The File Uploader Component (see details) is configured by adding a property of type Blob:File or Indexed Blob:File to your Data Class. Constraints on the type and size of files can also be set at Data Class level.
  3. The organization of files in folder is possible by adding a Document Behavior to your Data Class (see details).
  4. The Document Behavior also allows adding business metadata (e.g. ID issuing country) to your uploaded files. For this you need to configure Data Class properties (see details).

4 Process Editor Configuration: App Task Properties

The following section illustrates the properties that are common to all types of App Tasks and are configured in the Properties tab of each App Task in the Process Editor.
AppTasksProperties.png

4.1 Task Types

Processes consist of Tasks that are arranged using two different patterns:

  • Sequential Process Step — Tasks form a linear sequence, where users navigate through each Task step-by-step, and can typically only move forward or backward. This pattern is suitable for guided systems, and for systems where Processes go through multiple different phases.
    AppTaskTypes1UPDATE.png
  • Drill down — multiple different Sub-Tasks can be opened from one main Task. This design pattern is aimed towards more expert users.
    AppTaskTypes2UPDATE.png

In a real-world scenario, a typical Process would use both patterns, and mix-and-match these patterns where they are appropriate.
AppTaskTypes3UPDATE.png

Note that, in this case, the Workspace needs to render itself differently, depending on the pattern currently being used. For example, a Process Task that is part of a Sequential Process Step pattern has a phase chevron which communicates progress to the user, and will typically have 'Next' and 'Back' buttons at the bottom.

A Process Task that is part of a Drill down pattern, on the other hand, does not have a phase chevron, and will have the 'Back' button at the top of the screen (similarly to a drilldown screen on an iPhone or Android device).

Since the Platform cannot automatically determine whether a Process Task should be rendered as a Sequential Process Step or as a Drill down, the solution developer needs to make this configuration on the App Task Editor directly.
AppTaskTypes4V2.png

5 Process Editor Configuration: App Task Actions

The following section illustrates the configuration of Actions, which is common to all types of App Tasks and is performed in the Actions tab of each App Task in the Process Editor.

AppTasksActions.png

Historically, Process Actions in the Platform were modeled in two different places: first, you defined your buttons in a Screen, and added a Process Action to its onclick event. Next, you defined a corresponding connection in the Process Editor.
This meant that any change to actions had to be done in two different places. It also restrained reusability of Screens, since it was not easily possible to use the same Screen in two different places, if it required different Actions.

Actions in App Tasks solve this issue by allowing developers to define all aspects of an Action in the Process editor directly. This allows reusing the same Data Logic in different situations, and with different actions. Moreover, only the Process Business Object is altered when actions need to be added, removed, or updated.

AppTaskConfigurationActionsWSV2.png

5.1 Setting App Task Actions

To define App Tasks Actions:

  1. Select the App Task and click on the Actions tab.
  2. Global Actions (applied to the whole App Task) include:
    • Back (predefined, static Action).
    • Custom Actions
  3. Define the other available options (see all details in the section below)

At runtime, when the user triggers the action from the Workspace, the Process $action variable will be set to the Action Value set for the action, and can be used in Process connections to move the Process token.

5.2 Global Actions

5.2.1 Predefined Actions (Back)

Predefined Actions are Actions that are commonly used in an App Task, and are predefined to ensure a consistent developer experience across different solutions. Predefined Actions currently include the Back action, as almost all Process steps have a Back button.
AppTasksActionsBack.png

The Back action has the following properties:

  • Action Value — Static value set to 'back'.
  • Visible — Determines whether the Back button is visible. If your App Task does not need a Back action, you can deselect this property.
  • Label — The button label
  • Extended Label — The button tooltip

In the Workspace, the Back button is shown:

  • For Process Tasks with a Sequential Process Step Task Type, at the bottom center of the screen.
  • For Process Tasks with a Drill down Task Types, at the top left of the screen.

5.2.2 Custom Actions

Unlike Predefined Actions, which are provided by the Platform, Custom Actions are entirely defined by the developer.
AppTasksCustomActions.png

Custom actions have the following properties:

  • Action Value — the String that is stored in the Process $action value when the Custom Action is triggered
  • Type — Custom Actions can have three types (see details below):
    • Submit for actions that submit the current form, i.e. they trigger a Process step that cannot be undone.
    • Destructive for actions that have destructive effects, such as deleting an object from a collection.
    • Other for all other actions.
  • Label — The button label
  • Extended Label — The button tooltip
  • Sentry — A script determining whether the button is currently shown as enabled, disabled, or hidden altogether. The Sentry script must return one value among the following:
    • Process:ConnectionSentryState.ENABLED()
    • Process:ConnectionSentryState.DISABLED()
    • Process:ConnectionSentryState.HIDDEN()
  • Confirmation Label — The message to be shown when confirming a Submit or Destructive Action.
  • Process Behavior — Allows Specifying the Process behavior when the action is executed:
    • Move Current User Token — The user leaves App Task and follows the created Action
    • Stay on Task, Spawn New Token — The user stays on the App Task and a separate token is created to follow the created Action (the Action can be assigned to other users).

The Script Function AppTask:HasBlockingViolations can be used to check if the App Task contains any violation to Data Rules which are defined as Blocking in the Data Logic and, for example, disable one or more of the Custom Actions accordingly.

Note that the order of Custom Actions is important. The order in which Custom Actions are shown in the corresponding section of the Actions tab is the same order in which they are shown in the Workspace. To reorder Custom Actions, drag them by the drag handle, and move them up or down.

Custom Actions Types: Details

As mentioned above, Custom Actions have one of three different types:

  • Submit for actions that submit the current form, i.e. they trigger a Process step that cannot be undone.
  • Destructive for actions that have destructive effects, such as deleting an object from a collection.
  • Other for all other actions.

These types impact how Actions are rendered in the Workspace. Let’s analyze them, starting with the most simple type.

  • Custom Action Type: Other
    Custom Actions of type Other are rendered as a regular button, and trigger the action immediately when the user clicks on a button. This is the type you should use for all non-destructive, safe, or harmless actions
  • Custom Action Type: Submit
    Custom Actions of type Submit are rendered as a primary button. Clicking on such a button artificially creates a delay, during which time the user has the opportunity to cancel the submission.
    CustomActionTypeSubmit.png
    The purpose of this behavior is to prevent accidental submissions. Usually, this is done using a confirmation dialog. However, user research shows that confirmation dialogs are ineffective at preventing mistakes, since users are used to automatically confirming them. the Platform's approach is to force a delay during which the action can be canceled, thus preventing the automation issue, as it is impossible for the user to confirm the dialog. The enforced delay before submission guarantees that the user has time to reconsider submission, and cancel the action if this happened by accident.
  • Custom Action Type: Destructive
    Custom Actions of type Destructive are shown as red buttons in the Workspace. Similarly to the Submit type, clicking on such a button creates an artificial delay before the action is executed, during which the user can undo the action.
    CustomActionTypeDestructive.png
    As with the Submit action, this pattern avoids the pitfalls of a confirmation dialog.

6 Process Editor Configuration: App Task Collaboration

The Collaboration tab available for the Data Gathering and Data Review App Tasks (Process Editor) allows enabling and configuring Comments and Review Requests. Such collaboration features provide an easy way for reviewers to cooperate among them and with editors thanks to intuitive interactions for highlighting data which needs to be fixed and checked, thus reducing back and forth and improving efficiency.

The Collaboration tab displays the following fields:

  • Additional Discussion Keys: If set, the component adds such keys when creating new Discussions (discussions are containers for the comments on properties/changes). Default value is [].
  • Enable Review Requests: If selected, Review Requests ('add', 'resolve', 'delete') can be managed from the Data Review App Task.
  • Review Requests: This property is used to store all review requests. It must point to a variable of type Indexed DataReview:ReviewRequest.
  • Enable Comments: If selected, the Discussion List Screen Component can be used to add comments for each field. Such comments are only visible in the Data Review context.
  • Enable Comment Access Control: If selected, it allows internal users to specify if a message in a chat or a discussion is visible to a set of external users defined through a Script Function (see below). The list of internal users must be specified through the nm.usermessaging.internalUserRoles configuration property described below. Internal users will be able to specify message visibility in the UI through the Visible by Client checkbox.
  • List of External Users: (available if the Enable Comment Access Control checkbox is selected) Select a Script Function that returns the set of external user ids (Indexed String) which are allowed to see the messages posted in the context of the App Task being configured.

See more details:

6.1 Configuration of Collaboration Features

On the configuration side, collaboration features are based on the Discussion List Screen Component enabled by the WorkspaceCollaboration Extension.
See the sections below for other specific configuration information.

6.1.1 Comment and Review Request

On the configuration side, Comments and Review Requests are based on the Discussion List Screen Component enabled by the WorkspaceCollaboration Extension.

In the Business Data Comparison, Comments and Review Requests are saved in the Discussion Context using the following keys:

  • DDWS_PROCESS_INSTANCE_ID: The ID of the Process Instance in which the Business Data Comparison is included.
  • Business Data Comparison=processInstanceId#dataEntityPointerId: The dataEntityPointerId is a unique identifier of a certain piece of data. For example, assume that a comment is left on the property firstName of a Data Entity of type Person, with dataEntityId= 123456. The dataEntityPointerId would then be 123456:firstName.
  • Any other key defined in the Data Review App Task Process property Additional Discussion Keys (see the App Task Process configuration section above).

Example:
DDWS_PROCESS_INSTANCE_ID=1561723587795, Business Data Comparison=1561723587795#1561723587801:name

With the above-mentioned keys, you can retrieve and use Discussion Lists used in the Business Data Comparison scope even outside the component.

We recommend that you do not change Review Requests and Discussions Contexts outside the Business Data Comparison and Data Gathering. Every change to discussion contexts performed in Studio (Including the Interactive Script Editor (ISE)) will affect the discussions on the Workspace leading to unpredictable behavior.

For more information about Discussion Contexts, see the WorkspaceCollaboration Extension article.

Review Requests and Value Store Splitting

If Solution developers want to use the Value Store Splitting feature, the Indexed DataReview:ReviewRequest must be set as a standalone variable in the highest scope (e.g. a variable created in the main Process, not in any other Root object).
This variable must be assigned to any Sub-Process containing a Data Gathering/Data Review AppTask and used as value in the Data Review App Task Process property Review Request (see the App Task Process configuration section above).

Data Clean-Up and Data Auditing

Any clean-up activity performed right before the end of a Process should include the physical deletion of Discussions belonging to the Process about to end.
Solution developers can delete all the messages containing a Discussion Context by using the following script:

DiscussionMessageFilter $filter := DiscussionMessageFilter.contextFilter('DDWS_PROCESS_INSTANCE_ID', 'n11626030858929');
DeleteDiscussionMessages($filter);

In the Data-Driven Workspace (Data Gathering and Business Data Comparison), no message gets physically deleted, instead it gets marked as removed so as not to be shown in the UI.

For auditing reasons, Solution developers might want to collect all the Discussions started in a Process by setting includeRemoved to true like, as in the following example:

Boolean $includeRemoved := true;
Indexed Discussion $discussionsByFilter := LoadDiscussions($filter, $howManyDiscussions, $includeRemoved);

To determine whether a message was deleted or not solution developers can rely on the getRemovalTimestamp() method:

$discussionsByFilter[1].getPost().getRemovalTimestamp();
// 
$discussionsByFilter[1].getReplies()[1].getRemovalTimestamp();

Note: When the whole Discussion is deleted, only the main post is marked as removed, while replies are not.

6.1.2. Comment Access Control

As described above, the Comment Access Control feature allows internal users to specify if a message in a chat or a discussion is visible to external users.
For the feature to work properly, you first need to set the list of internal users who will be able to use this feature in the UI. This is done through the configuration property nm.usermessaging.internalUserRoles, where you can set a comma-separated list of Roles that represent internal users, e.g. nm.usermessaging.internalUserRoles = Admin,Reviewer.

7 App Task 'Home' Button

The 'Home' button is rendered as the logo on the top-left of the Workspace.

AppTaskConfigurationHomeButton.png

The 'Home' button is not configured from the App Task configuration, instead it is managed by the global configuration property nm.window.start.

For example, you configure the 'Home' button to start a Process, the property would look as follows: nm.window.start=REDIRECT:/process/ExamplePackage:MyProcess

Redirecting vs Forwarding
The user can either be redirected to the provided URL (using the prefix REDIRECT, as shown in the example above), or forwarded (using the prefix FORWARD). Forwarding is immediately done by the application server, and preserves the original URL in the browser address bar, whereas redirecting is done by the browser, and updates the URL in the address bar to the one the user is being redirected to.

If the property uses a mode other than REDIRECT or FORWARD, the user is redirected to the context path as a fallback.

Version Filter
Moreover, you can add a version filter to the URL directly. For example:
nm.window.start=REDIRECT:/process/ExamplePackage:MyProcess?versionFilter=HeadFilter

If no version filter is provided, the following logic is used to generate a version filter:

  1. If the source Process (i.e. the Process from which the user clicked on the 'Home' button) is running on a head version filter, then that same version filter is also used for the URL opened by the 'Home' button.
  2. In all other cases, no version filter is used, and as a direct result, the Platform uses a timestamp version filter instead.

The purpose of this behavior is ensuring that the Workspace keeps using the head filter when developers open the Workspace using a head filter to test uncommitted changes. However, for all regular Workspace users, a new timestamp version filter is generated instead, to ensure that they are using the newest committed versions of all Business Objects.

8 Localization

8.1 Labels and Translations

All basic labels used for App Tasks (e.g. calendar months) are included in Platform Packages:

  • AppTask
  • DataGathering (specific to the Data Gathering App Task)
  • DataReview (specific to the Data Review App Task)
  • RelationshipDefinition (specific to the Relationship Definition App Task)
  • DigitalBinder (specific to the Digital Binder App Task)

Moreover, consider the following information:

  • The language displayed in users' web browsers is determined by language priority criteria.
  • You can edit the displayed text and add translations: we strongly recommend using the Overriding Translations approach described in the Languages and Labels document.
    Overriding Translations to edit the label text
  • The Data Logic Editor feature a Translations tool that allows editing labels from the Business Object directly.

8.2 Number and Date Localization

App Tasks define the localization of numbers and dates according to a Locale configured at Studio level. To determine what locale is used in the user's web browser, the Platform processes the same steps used for language priority, with the addition of a first step, where it checks if a specific Formatting Localepreference has been defined at User level. See the following table for details:

Configuration Type Priority Description
User Preferences: format_language 1 The Formatting Locale preference can be stored as a User property for registered users in the Platform. The Platform provides a set of Script Functions to get and set User Preferences (see code snippet below the table*). Preferences are stored as long as the User exists within the Platform's user management (System Configuration > Users).
Query Parameter2 Same as language priority
URL Path3 Same as language priority
Session Attributes4Same as language priority
Cookie5Same as language priority
User Preferences6Same as language priority
Browser Language7Same as language priority
Default Language8Same as language priority
Java Configuration9Same as language priority
System Setting10Same as language priority
Nothing Found (Fallback)11Same as language priority

*Script Functions to get and set User Preferences:

User $user := User:Get();
// Set the user preference
$user.setPreference('format_language', 'en_US');
// Get the user preference
String $language := CAST(String, $user.getPreference('format_language'));
// returns 'en_US'. 

The Locale determined above automatically generates the correct formatting for dates and numbers according to standard rules.
The following reference table contains some examples of which date and number formatting corresponds to each Locale (note, however, that App Tasks support all browser Locales):

Locale Date Formatting Number Formatting
en_US MM/dd/yyyy 12,345.67
de_CH dd.MM.yyyy 12’345.67
en_CH dd.MM.yyyy 12’345.67
fr_CH dd.MM.yyyy 12 345,67
it_CH dd/MM/yyyy 12’345.67
de_DE dd.MM.yyyy 12.345,67
en_CA yyyy-MM-dd 12,345.67
fr_CA yyyy-MM-dd 12 345,67
en_NZ dd/MM/yyyy 12,345.67

9 Theming (Theme Editor)

The Theme Editor is a tool available in the workspace side of the App Tasks out-of the-box, which allows editing the look-and feel of the Workspace itself to achieve the desired branding.

Trough the Theme Editor, the end user is exposed to a set of master style elements (such as colors, and fonts). Behind the scenes, all the elements required to style the entire solution are consistently auto-generated according to the values entered and saved inside a Theme Package in the form of Style Value Business Objects (see details below).

9.1 Creating and Configuring a Theme Package

To use the Theme Editor capabilities, you first need to create and configure your Theme Package following these main steps:

  1. Checking the prerequisites for Theme Editor access and Theme Package creation
  2. Creating a Theme Package
  3. Configuring your Theme Package
  4. Assigning your Theme Package to your Solution

9.1.1 Prerequisites for Theme Editor Access and Theme Package creation

  • You can create and configure Theme Packages in the Theme Editor only if you have the Packages Permission (Full-Access level). Note that, if you have the Packages Permission, but you see a certain Theme in locked mode, this means such Theme Package is sealed.
  • You cannot create and configure Theme Packages, but you can access the Theme Editor, select a Theme and preview it if you have Developer Toolbar or Studio Permissions.
  • You cannot see the Theme Editor if you have none of the Permissions described above.

9.1.2 Creating a Theme Package

  1. You can create a Theme Package as follows:
    • (Recommended approach) In the Theme Editor directly, open the Developer Toolbar by clicking on the arrow on the left-hand side of your screen, and select Create a New Theme.
    • In Studio, go to Solution Design > Create New , and select the Theme Package checkbox. Package properties, such as logo and Permissions can only be configured in Studio
  2. The newly-created Theme Package is now empty, as its Business Objects are created during its configuration (see next section).

9.1.3 Configuring a Theme Package

  1. (Only if you created your Theme Package from Studio), open the Developer Toolbar by clicking on the arrow on the left-hand side of your screen, and select the Package from the Theme Package dropdown list.
    ThemeEditorDeveloperToolbar.gif
  2. The default values for the Theme Package are displayed in the Theme Editor. When you change the first value, the selected Theme Package is initialized automatically. Changes to Business Objects are saved automatically.
  3. Apply your branding strategy by applying the desired configurations:
    • Colors, typography and the logo are managed in the Theme Editor directly (see section xx for details)
    • The favicon and banner are managed in the Theme Package (see section xxx for details)
  4. (Optional) Go back to Studio and commit the Style Value Business Object.

9.1.4 Assigning your Theme Package to your Solution

Finally, assign the desired Theme Package to your Solution by setting the global configuration property nm.ddws.defaultThemePackage to your Theme Package name, e.g. nm.ddws.defaultThemePackage = MyThemePackage.

Upgrade Note on Default Theme Changes

This note applies if: If your Solution relies on AppwayTheme being the default Theme and you are upgrading to Data Gathering v4, Business Data Comparison (Data Review App Task) v6, Digital Binder v7, or Relationship Definition v3.

Until Appway 2022.1 (Data Gathering v3.x, Business Data Comparison (Data Review App Task) v5.x, Digital Binder v6.x, or Relationship Definition v2.x., the configuration property nm.ddws.defaultThemePackage was set to AppwayTheme by default.

Starting from FNZ Studio 2022.2 (compatible with the App Task versions mentioned in the note above), the configuration property nm.ddws.defaultThemePackage is set to null by default, meaning that App Tasks will use the default Theme Package defined by the AppTaskAPI extension. Therefore, if your Solution relies on Appway Theme being the default Theme, and you are upgrading to one of these App Tasks, you will need to manually set AppwayTheme as the default value by running the following code:

If CONF('nm.ddws.defaultThemePackage') == 'AppwayTheme' &&
CONTEXT().getPackageService().getPackage('AppwayTheme', VersionFilter()) \!= null Then
PRINTLN('Please set: nm.ddws.defaultThemePackage=AppwayTheme');
Else
PRINTLN('All good\!');
End

9.2 Theme Editor Configurations

The Theme Editor is composed of three different sections to customize your branding:
2. Color — The Color Editor exposes a master set of colors for the header, interactive elements and so on which drive the whole subset of colors used in the App Task.
2. Typography — The Typography Editor allows defining the font that is used for the two main areas of the App Task: header and content. See the 'Typography' section below for full configuration details.
3. Logo — The Logo Editor allows configuring a logo for the desktop and the mobile version of your Application. See the 'Logo' section below for full configuration details.

9.2.1 Typography

You can change the fonts used in App Tasks in Studio and apply them to your Theme Editor. To do so:

  1. In Studio, upload all the 'Font' Resources associated to the 'Font Family' Style Value. Supported font formats currently are:
    • ttf
    • woff
    • woff2
  2. Create a new 'Font Family' Style Value and assign the 'Font' Resources.
    ThemeDocCreateNewFontAssignResorces.png
  3. Go back to the Theme Editor, and select the font.
    ThemeEditorTypographyupdated.png

You can configure a logo both for the desktop (larger than 720px) and mobile (smaller than 720px) versions of your App Task in the Theme Editor directly. To do so:

  1. Hover or drag a new file over the existing logo to display the Upload new Logo button.
  2. Select the desired logo. The suggested optimal image ratio is:
    • 1:4 for the desktop logo (e.g 10x40px)
    • 1:1 for the mobile logo (e.g 10x10px)

ThemeEditorLogo.png

9.3 Theme Package Configurations

Other items, namely the favicon and banner in your App Task, are configured in the Theme Package. See details in the section below.

ThemePackageBanner.png

  1. Favicon
  2. Banner (Ad-Hoc Navigation only)

9.3.1 Favicon

In your Theme Package, you can configure a favicon to be displayed on your browser tab.
To do so, follow these steps:

  1. Open your Theme Package and, on the left-hand Business Object Types panel, select Resource.
  2. In the central area, select the Icon - Favicon Resource.
  3. On the right-hand Properties panel, click on the Replace File button to upload a new favicon image:
    • Supported image formats include PNG, JPEG, GIF, and SVG. To achieve a better experience, we recommend that image files meet the following conditions:
      • Shape: Square or round (e.g. 32*32 pixels)
      • Size: Lower than 30KB (bigger sizes do not ensure better resolution, but they do affect the loading performance of the application.
    • Supported browsers include Chrome, Firefox, and Safari.
  4. Consider the following information:
    • If you delete the Icon - Favicon Resource, the favicon is not shown in your Solution. Images can still be uploaded using the Replace File button, but they are not shown until the Icon - Favicon Resource is undeleted. When undeleting the Icon - Favicon, the latest uploaded image is shown.
    • Due to the way browsers cache files, changes to the favicon can sometimes take a few minutes to be displayed. However, clearing the browser’s cache causes new images to be loaded immediately.

9.3.2 Banner

In your Theme Package, you can configure a background image (banner) to be displayed on your header.

Note that this applies only to Ad-Hoc navigation.

To do so, follow these steps:

  1. Open your Theme Package and, on the left-hand Business Object Types panel, select Resource.
  2. Create a Resource Business Object containing the desired banner image and name it Banner.
  3. Once you select your Theme Package in the Developer Toolbar, the banner image is displayed.

9.4 Theme Editor Updates

Starting from FNZ Studio 2022.2, the Theme Editor allows performing two update operations:

  • Update Themes — Allows adding newly created Style Values.
  • Recompute Values — Allows recomputing Style Values.
    ThemePackageUpdates.png

9.4.1 Update Themes

You can easily update your Theme Packages every time new Style Values are added (updates are announced in the App Task Release Notes linked in the Products page).

Please, perform this operation if you are upgrading any of your App Tasks to versions compatible with FNZ Studio 2022.2 (see list) to update to the latest Style Values.

To do so:

  1. Open the Theme Editor from any Application Business Component (ABC).
  2. Click on the Update Themes button available on the three-dot menu at the top-right of the Theme sidebar.
    This update adds the new Style Values to all the Theme Packages that are editable by the developer who performs the update. Note that, if the Package is locked or the developer does not have permissions to edit one or more Packages, such Packages are not updated and, therefore, the ABCs will use default values for the missing Style Values. See the Theme Editor Prerequisites section for information on permissions.

9.4.2 Recompute Values

You can use the Recompute Values function to fix wrong values related to calculation algorithm errors in previous Platform versions (these updates are announced in the App Task Release Notes linked in the Products page) or also in case you mistakenly changed any Style Values in your Theme Packages manually and you want to reset their default values.

Please, perform this operation if you are upgrading any of your App Tasks to versions compatible with FNZ Studio 2022.2 (see list) to apply a fix on wrongly calculated values in previous releases.

To do so:

  1. Open the Theme Editor from any Application Business Component (ABC).
  2. Click on the Recompute Values button available on the three-dot menu at the top-right of the Theme sidebar.

Further Resources

Print Document

Introduction to App Tasks

Documentation Resources

1 Installation and Upgrade

1.1 App Task Access

1.1.1 Anonymous User Access

1.2 Session Expiration and Re-Login

1.3 Installation and Upgrade

2 General Properties

2.1 Process Properties

2.2 Home Button

3 Feature Overview

4 Navigation

4.1 Task Types

5 Actions

5.1 Setting App Task Actions

5.2 Global Actions

5.2.1 Predefined Actions (Back)

5.2.2 Custom Actions

Custom Actions Types: Details

5.3 Inline Actions

6 Content Area

6.1 Primitive Types

Text

Text Area

Date Picker

Dropdown List

Radiobutton List

Radiobutton

File Uploader

String

Email

Phone Number

Typehead

Link

6.2 Object Search

6.3 File Uploading

6.3.1 Blob Storage Configuration

6.3.2 Data Class Configuration

6.3.3 Configuration Example

7 Content Structure

8 Information Framework

8.1 Validation Overview

8.2 Navigation Validation (Ad-Hoc Sub-Processes)

8.3 Content Validation (Data Logic)

9 Collaboration: Comments and Review Requests

9.1 Comments

9.2 Review Requests

10 Developer Toolbar

10.1 Theming (Theme Editor)

10.1.1 Creating and Configuring a Theme Package

Prerequisites for Theme Editor Access and Theme Package creation

Creating a Theme Package

Configuring a Theme Package

Assigning your Theme Package to your Solution

10.1.2 Theme Editor Configurations

Typography

Logo

10.1.2 Theme Package Configurations

Favicon

Banner

10.1.3 Theme Editor Updates

Update Themes

Recompute Values

10.2 Inspector

10.3 Integration

11 Localization

11.1 Labels and Translations

11.2 Number and Date Localization

Further Resources

© 2026 Appway AG. All Rights Reserved