This Torq Workflow Template provides a solution for managing and retrieving workspace variables within your Torq environment. It is designed to fetch the value of a specified variable, prioritizing an "Overriding Workspace Variable" before falling back to a "Default Workspace Variable". If neither variable is found, the workflow outputs null. This is especially useful for environments where configuration management is essential, and where different priorities are given to default and overridden variable values.
Use Cases
Function
Workflow Breakdown
Receive the variable name as input from the parent workflow
If the variable is found in the Overriding_Workspace_Variable return the vaule
If the variable is found in the Default_Workspace_Variable return the value.
If no variable is found, return null.
Vendors
Workflow Output
The variable value from the workspace variable or if not found return null.