Set property values for a given entity.
Target parameters (in) and Activity options
Entity |
The entity you want to change values on. |
List of properties |
The properties from the given entity type are listed. You can set new values for the properties on the entity. |
Source parameters (out)
Entity |
The same entity as you sent in for changing. |
Example
You can set the value as a constant or from another workflow step (property or entity).
There are different transformation functions that you can use to change or set the value. See more detailed information in Criteria Language Syntax | Cross-Platform Class Library | DevExpress Documentation and https://docs.devexpress.com/Dashboard/400122/common-features/advanced-analytics/expression-constants-operators-and-functions.
Case |
Transformation |
Parameters |
---|---|---|
For boolean properties. |
Function |
True/False |
To clear an entity reference. |
Null |
|
To clear a string. |
Function |
'' |
Dates has a relative value “TODAY:”, that you can use. |
|
|
Calculate with other properties from the selected entity value. |
Function |
BudgetQ1 + BudgetQ2 |
Use the selected value in a function with “$param1$”. |
Function |
TotalValue + $param1$ This example sets and increases the property TotalValue with the selected value. Or a string example, where you put the $param1$ within '':NameList + ', ' + '$param1$' |
If-statement with the “Iif-function“ |
Function |
Iif(Name = ‘Bob’, 1, Name = ‘Dan’, 2, Name = ‘Sam’, 3, 0) |
Convert function values to string. |
Function |
ToStr(GetYear(Now())) |
Convert a entity/workflow value to string. |
Function |
ToStr($param1$) |
Trim string to remove blank spaces
|
Function |
Trim(Username) TrimLeft(Username) TrimRight(Username) |
Comments
0 comments
Please sign in to leave a comment.