Runtime Data Object "systemData" - xAPPnow Low Code Platform
The xAPPnow Low Code Platform provides a runtime data object "SystemData". It can be used in scripts on client or server side, similar to globalDef, to fetch this variables on runtime.
It consists of three different parts:
1. systemData.process: Only available on server side. It describes current runtime information about the process. It has the following attributes:
a. processName: The name of the running process
b. processInstanceId: The ID of the current process Instance
c. processDefinitionKey: The key of the deployed process definition
d. loopCounter; nrOfInstances; nrOfCompletedInstances; nrOfActiveInstances: These attributes are only available in a Multi Instance. For further information, please check https://docs.camunda.org/manual/7.16/reference/bpmn20/tasks/task-markers/#multiple-instance
2. systemData.aup: Available on client side. It contains:
-
firstName: The logged user's registered first name
-
lastName: The logged user's registered last name
-
email: The logged user's registered email address
-
userId: The logged user ID
-
userName: The logged user's username
-
tenant: The logged user's domain
-
groupIds: The logged user's camunda groups3. systemData.env: Available on client side and has the name of the environment.
