| setProperty
|
Defines a property and its value. |
| getProperty
|
Returns a property value. |
| setAdminMode
|
Sets or unsets the context of the current transaction as administrator. This allows the workflow to temporarily affect entities that are not included in the security role. |
| getAdminMode
|
Checks the if the context of the current transaction is administrator. |
| hasChanged
|
Checks if the value of a specified attribute has changed. |
| getDepth
|
Retrieves the nested execution depth of the script context. |
| request.clientIp
|
Retrieves client IP. |
| request.headers
|
Retrieves headers. |
| request.culture
|
Localization setting that the client is currently using. |
| response.setData
|
Passes a JSON object from a server automation script (triggered by a callAction function) to the result parameter of the client-side callback function. |
| response.setMessage
|
Displays a notification or alert message at the bottom of the screen after the transaction completes. |
| response.setNavigationInsert
|
Opens a record insert form after the transaction completes. |
| response.setNavigationEdit
|
Opens a record edit form after the transaction completes. |
| response.setNavigationReload
|
Reloads the page after the transaction completes. |
| response.setNavigationUrl
|
Opens a specific page after the transaction completes. |
| response.downloadFile
|
Returns the contents of a stored file encoded using the Base64 scheme. |
| response.getExceptionMessage
|
Extracts the exception message from a thrown error. |
| user.b2cSessionId
|
Retrieves the user's session ID. |
| user.id
|
ID of the user account record. |
| user.name
|
Name of the user account. |
| user.roles
|
Array of strings representing the roles assigned to the user account. |
| user.isLockedOut
|
Specifies whether the user is locked out. |
| user.businessUnitContext
|
Retrieves the user's business unit. |
| beforeValues
|
All attribute values of a record before it is subjected to a CRUD operation. |
| additionalValues
|
Updated values of a record that is subjected to a CRUD operation for all the items that are not entity attributes (additional values and entity extensions). |
| mergedValues
|
Updated values of all the attributes of a record that is subjected to a CRUD operation. This is obtained by overwriting the entries in the beforeValues parameter with the entries in the values parameter. |
| values
|
Updated values of the attributes that are changed in a CRUD operation. |
| businessStatus
|
Current entity BusinessStatus primary key value (Guid). |
| data
|
Stores input parameters passed by the client process, for instance via an ebs.callActionByNameAsync function. |
| entityName
|
Current entity name (populated inside Data Events). |
| executionDepth
|
Nested execution depth. |