...
User defined outputs – an output must be defined in the workflow editor to be accessible. Within your script use the Map outputs setOutput(type Map<StringKey,Object>Value) to set any outputs.
Example
Code Block | ||||
---|---|---|---|---|
| ||||
ouptuts.putsetOutput("MY_STRING_OUTPUT","Output result") # output will be "Output result" ouptuts.put("MY_BOOLEAN_OUTPUT",bool("")) # output will be false |