Utilities

Create Object

A converter activity. It can take two types of input string: CSV and JSON. When the CSV is selected, you should state whether the headers should be included and what is the separator character.

create_object
Parameter nameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
DisplayNameLiteralInputyou can change the name of activity for greater clarity of the scenario
Include HeadersBooleanInputcheckbox; default is "off"
InputStringInputthe input string
Input TypeDropdownInputselect the appropriate option from the dropdown list
SeparatorStringInputcharacter that separates each field of text in .csv file
Csv OutputString[][]Outputvariable to store the retrieved value
Output-Outputwhen the input type string is JSON; the user should provide the correct type of output object
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities