Arg and Vars Utility
The Arg and Vars Utility modifies the input of the next object and sets variables for the remaining workflow stream.
Page Index
Setup

Argument sets the output to send to the next object. If Pass through input argument is active, the argument becomes the unmodified output of the previous object.
Variables defines or overrides variables which remain active during the current run.
Dynamic Placeholders are available for both Argument and Variables.
Connection Ideas
Save the output of an object for reuse later in the workflow stream by connecting it to the Arg and Vars Utility and setting a variable with the value {query}.
Example Workflows
Simple Greeting
Greeting a specific person, considering time of day
Edit Text File
Search and edit txt files
Workspace Launcher
Quit and launch apps according to task
Advanced
Using {query} as the Argument usually means the output will be the same as the input. However, because Argument is always a single string, multiple arguments are collapsed to a single tab-separated string. Enabling Pass through input argument bypasses this behaviour by not processing the input.
When saving multiple file path arguments to a variable, for example from the Universal Action Trigger or File Action Trigger, this collapsing always happens. To expand such a variable to multiple arguments again, use the Split Arg Utility set to Split with Tab and Output as Arguments.
Sometimes you need to ignore the output of an object before continuing to the next one. Leaving Argument empty is a good way to do it, but you can also use the Workflow Object Inbound Configuration with an empty Custom Argument.