Utilities

Create Object from JSON Content

Activity converts a String variable (example: output from Read Text File) into a Wizlink Data or Custom type object depending chosen Output. 

Wizlink Data Output requires a variable of type Wizlink Data. Custom Type Output requires a custom object variable that matches the structure of the JSON content. 

Only one type of output can be selected. 

obraz
obraz (1)
Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Display NameLiteralInputchanges display name of the activity
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
InputStringInputthe input string
Custom Type Output-Outputtype of output object (all but WizlinkData)
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise 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
Wizlink Data OutputWizlinkDataOutputtype of output object