Script

Create a execute inline python code within a flow.

Actions

Script Block

Executes defined python code.

Input

Name Description Type Required Syntax
_id input False False
Name Display name for the action object. input False False
Enabled Enable / Disable this action object. checkbox False False
Logic Logic that when defined must be evaluated as true for the action object to return True otherwise False will be returned. input False False
Code Python code to execute. script True True
Comment User defined comments. input False False

Output

Name Description Type always_present values
result Returns True. boolean True {"True": {"description": "Successful."}}
rc Returns 0. number True {"0": {"description": "Successful."}}
data Updates data value as modified by the script. json True {}