Batch workflow commands
Last updated
Was this helpful?
Last updated
Was this helpful?
Tasks executed during batch workflows set some values using commands. To execute a command, a task should print a specifically formatted line to the standard output stream. Apolo Flow automatically scans this stream and detects commands in it.
set-output
commandSets the value of a task's output that can be later accessed by other tasks using the .
Format:
::set-output name={name}::{value}
Example:
save-state
commandSaves some value in the main
task of a that can be later accessed by other post
using the .
Format:
::save-state name={name}::{value}
Example:
stop-commands
commandTemporarily disables the processing of commands until an ::{end_token}::
is found in the output.
Format:
::stop-commands::{end_token}
Example: