runService
The runService task runs a registered Itential Gateway service from a workflow, using the gateway cluster and service you specify in the task panel. Use it to orchestrate gateway services, such as network automation scripts or infrastructure provisioning plans, as part of a larger Itential Platform workflow.
For steps on adding and configuring this task in a workflow, see Add gateway services to workflows.
Task properties
Incoming
Outgoing
The task returns the execution status as a top-level field, alongside a nested result object with the execution details.
Use runService output in downstream tasks
To use the runService output in a downstream task, configure that task’s input with:
- Previous Task: the runService task
- Task Variable:
result.stdout_jsonfor the parsed JSON result, or any other output field
If you need a specific nested value from result.stdout_json, use a task query to extract it directly on the input field instead of adding a separate task to the canvas. See Task query for details.
Errors
When execution fails, status returns error. Check result.stderr for the underlying failure or traceback.