Expression Editor
Data dictionary UI
The following table describes the nodes in the Data dictionary UI:
Dictionary node | Description | Expression |
---|---|---|
Process Variables | The process variables that you define in the process definition are available in the Expression Editor. This includes the process input parameters, output parameters, and local variables. If a process variable is a record and has associations, the associations are available in the Expression Editor, which helps to navigate to the associated records without using a query. To use a dynamic variable in a string, you can simply type the $variable name in the string, and the variable's value is inserted in the string at runtime. For example: “Hi $user, your ticket is created. The id is $ticketId. You can view the ticket details at $ticketLink.” When you use any field, variable, or keyword within a string expression, it will be evaluated to the value at runtime. If you want to use the variable name and not its value in the expression, then add an escape character (\) to the expression. For example, "$\{processContext.processVariableName}" | ${processContext.<variable id or name>} ${processContext.task._associations.<association definition GUID>.nodeA/nodeB...} |
Activities | The results of all the activities that have outputs are available in the Expression Editor. The results of all the activities are captured in the process context, and you do not have to store an activity result by using the activity output mapping. You can use an expression to pass the activity result to other activities. | ${activityResults.<activity GUID>.field} |
General | The keywords such as Server URL, Current date, Current date and time, Current Groups, and so on are available in the Expression Editor. | $<keyword name>$ |
Errors | This node is available only if you have already defined an Error Boundary event earlier in the process. For more information, see Error Boundary event. You can use an expression to access the exception class and error number (for Java exception error), or error message (for business error) caught by the Error Boundary event. | ${errors.<errorBoundaryEventGUID>.errorMessageOrClass} |
Email Receive Event Fields | This node is available only when you are using the Email Receive Event in a rule. For more information, see Email Receive Event. The incoming mailbox attributes, such as mailbox name, email sent to, plain text body, and so on, are available in the Expression Editor. | "${ruleContext.mailSentTo} = \"helpdesk@calbro.com\" AND ( ${ruleContext.priority} = \"1\" OR ${ruleContext.priority} = \"2\" OR ${ruleContext.priority} =\"3\") AND ${ruleContext.plainTextBody} LIKE \"%sometextfrommailbody%" |
Expression Editor examples
The following table illustrates Expression Editor examples:
Configuration using Expression Editor | Example |
---|---|
In Process designers and Rule designers, you can use regular expressions in a Qualification (condition). In Rule Designers, you can configure expressions in Rule Qualification. In Process designers, you can use expressions in the following components:
In the Process designers, expressions can be used only with the LIKE operator. The following characters are allowed in the expression:
| |
Configure an expression by using individual attributes from a JSON schema. | |
Configure an expression by selecting the fields from the associated records. Important: Only fields from one to one and one to many associations are supported. | |
Configure an expression by using fields in the configured incoming mailbox.338px | |
Configure condition using an activity result. | |
Configure the expression by using error details caught by the Error Boundary event. | |
Configure a condition to check if the security label for a record instance is updated. When using SECURITYLABELCHNG() function in a process, add a record instance as a parameter. When using the SECURITYLABELCHNG()function in a rule, you do not need any parameter. Important: In Rule designer, the SECURITYLABELCHNG() function is supported only with the Record Event trigger type. If you use the SECURITYLABELCHNG()function with the Timer Event or System Event trigger type, an error is generated while saving the rule. For more information about configuring a condition to identify the changes in the security label, see Identifying updates to the security label. | Using Process: Using Rule: |
Configure a selection field. | |
Server URL in user message. | |
Configure Start Process expression in a rule. | |
Symbols used in Expression Editor. | |
Set conditions to hide menu, menu items, and action components by using CCS parameters Configure the condition to hide the menu, menu items, and action components with the Hidden field based on the following CCS parameters:
Use the GET() function under Object node to use the CCS parameters. For more information about the CCS parameters, see Centralized configuration. | |
Configure navigation menu bar items to open external web page URLs that include the following user properties as query parameters.
|