Evaluate Expression Activity (how-to)

Evaluate Expression Activity (how-to)

Functionality

This article describes how to use the “Evaluate Expression Activity“. We are going to show you how to use this activity to create a filename (string) and use it in a download activity.

Settings

 

 

 

Parameters

Input-data

Property

Entity

Required

 

Property

Entity

Required

 

Entity

Selection of your choice

Yes

 

 

 

 

 

Output-data

Property

Entity

Expected Result

Property

Entity

Expected Result

Expression-result

 

String-value

 

 

 

Accessing Parameters

CurrentUser = "@#@USER@#@"; ApplicationSettings = "@#@APPLICATIONSETTINGS@#@"; NormalParameter = "#@#@#"; RelativeDate = "@#DATE#@"; Relative = "#@@@#";

Example

 

  1. Go to the Flow tab and press create new workflow.

  2. Drag-and-drop the “Evaluate Expression Activity“ to your start activity.

  3. Double-click the in-going branch and bind a parameter. This should be an entity that we later use its parameters for evaluation.

     

     

  4. When using static text, it should be surrounded by ' (apostrophe). By using the + (plus sign) you can append values. [ (Hard bracket) give you guidance to the parameters within the entity you bound earlier. In our case or evaluation expression looks like this: 'Offert '+[Offertnummer]+'.pdf'

     

  5. Add “Download File Activity” to follow our “Evaluate Expression”.

  6. Double-click the in-going branch and bind the parameters as following: