When sending to output to Variables from a Scriptable Task the resulting Variable returns the following values:
Aria Orchestrator 8.x
Aria Automation 8.x
This is caused by a syntax error in the output of the script.
To resolve this issue, use the following generic scripting task as a reference on how to handle your output. In this example, sending to an Output variable named "outputs" that is a Property-type variable. The variable values for this would result in a properly saved key:value of "status:done":
import json
def handler(context, inputs):
jsonOut = json.dumps(inputs, separators=(',', ':'))
outputs = {
"status": "done"
}
return {
"outputs": outputs
}