Shows all the information related to a process instance.

adf-cloud-process-header

Basic Usage

<adf-cloud-process-header
    [appName]="appName"
    [processInstanceId]="processInstanceId">
</adf-cloud-process-header>

Class members

Properties

NameTypeDefault valueDescription
appNamestring""(Required) The name of the application.
processInstanceIdstring(Required) The id of the process instance.

Details

The component populates an internal array of CardViewModel with the information to display.

By default all properties are displayed:

id, name, status, initiator, startDate, lastModified, parentId, businessKey.

However, you can also choose which properties to show using a configuration in app.config.json:

    "adf-cloud-process-header": {
        "presets": {
            "properties" : [ "name", "status", "initiator", "parentId"]
        }
    }

With this configuration, only the four listed properties will be shown.

You can also define the date format of the date properties using a configuration in app.config.json:

    "adf-cloud-process-header": {
      "defaultDateFormat": "full"
    }

See also

© 2023 Alfresco Software, Inc. All Rights Reserved.