Out of Scope Reference
The Out of Scope Reference analyzer detects when a function instance uses a variable that doesn't exist in the variable scope at that point in the action.
Variables are only available after the step that produces them. If you reference a variable before it has been created, or if you reference a variable that was created on a different branch that may not have been executed, this analyzer will flag it.
How to fix it
Check the order of your function instances and make sure the variable you're referencing is always produced before the step that uses it. If the variable is produced in a conditional branch, move the referencing step to after that branch or reconsider your logic structure.
Severity
Major/Bug - referencing a variable that isn't in scope will cause your action to fail at runtime.