SET

This action allows setting the values of several attributes of a business object from a string.

SET [ATTRIBUTES OF] Id () FROM ArithmeticOperation() [ USING StringLiteral]

where Id() is the identifier of the business object the attributes of which are being set and the ArithmeticOperation() is the expression identifying the string containing attribute names to set and their corresponding values.

The format of the import string must be one of the following:

  • attrName1#attrValue1#attrName2#attrValue2 etc

The string represented in this format has attribute names followed by the corresponding values. The attribute names and values are separated by the “#” delimiter, for example:

#Name#John Smith#State#NEW#Balance#100.0 
  • attrName1 attrValue1 attrName2 attrValue2 etc

The string represented in this format also has attribute names followed by the corresponding values. The attribute names and values are separated by the space character (space character is thus not allowed inside attribute values, for example

Name John Smith State NEW Balance 100.0 // INVALID 
Name John State NEW Balance 100.0 // VALID 
  • The string has multiple lines where each line has a single attribute name and the corresponding value. The attribute name and value are separated either by the space character or “#” delimiter, for example:
Name John State NEW Balance 100 

Instead of the space and “#” symbols you can use USING expression to specify the delimiter explicitly, for example:

SET Account FROM Name: 'John' USING ':' 

The delimiter used here is the “:” symbol. This action can be useful in a variety of situations, for example when processing the contents of the incoming e-mails (provided that they are formatted as described above).

  • Last modified: 2023/05/09 01:45