Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

Help

Expression Activity

The Expression Activity allows you to enter a simple Javascript or XPath expression and assign it to a Workflow variable, a Workflow message, a Workflow message property (using the syntax MessageName.PropertyName) or part of a Workflow message indicated by an XPath expression.

Essentially this activity allows you to execute simple expressions without having to use a Code Functoid.

To use it, first set the Set property to the name of a variable, message or message property that you want to set, or to the destination XPath expression.  Then set the Expression property to a Javascript or XPath expression representing the value you want to assign.  If you have specified XPath in either property, you also need to set the Message property to the name of the Message to which the XPath relates.   The Expression property can contain tokens in 
%Variable% or %MessageName.PropertyName% syntax – you may need to delimit them with quote ‘ characters.

Alternatively you can select the <Select> drop-down option for the Set or Expression property, whereupon you’ll be prompted to configure the expression using the form shown below.

NOTE The Expression Editor below doesn’t set any extra Activity Properties, but provides a convenient way of setting and testing the properties mentioned above.

As well as providing a way to set the Set and Expression properties, the Expression Editor provides two links: Insert token… and Test.

Test attempts to evaluate the expression prompting for any test variables and Insert token.. provides an easy way to insert variables.