Skip to main content

Set Flow Variable

Set Flow Variable (v1.0.0)

Set a Flow Variable to whatever you like. This can be used with the 'Check Flow Variable' plugin for complex flows with loops in them where you're wanting to keep track of where you are in the flow. For example, when attempting to transcode with NVENC, then QSV, then CPU.

View Source

Inputs:

Name: Variable 

Type: string

Tooltip:

Variable to set.

\nExample\n
transcodeStage

\n
You can then check this in the 'Check Flow Variable' plugin
{{{args.variables.user.transcodeStage}}}

Name: Value 

Type: string

Tooltip:

Value to set.

\nExample\n
1

\nExample\n
nvenc

Outputs:

1: Continue to next plugin