FortiSOAR Variables and Jinja Template Testing
Hi,
I'm new to FortiSOAR and try to understand how data is being passed around in a playbook. I understand that there are:
Steps record: In Jinja fortmat, it starts with vars.step.<name of referenced action step output>
Input: Variables for data from Modules and Parameter. In jinja format, it starts with vars.input.record[0]
Custom variable: variable that is created in the playbook
The problem that I have right now is trying to wrap my head around how to test Jinja template using the step output. When I view the executed playbook in debug mode, the output does not explicitly mention the vars.step or vars.input.record. This is a problem when I need to troubleshoot other people's playbook as I need to carefully trace the variable.
Is there a best practice on how to play with variable and creating/test jinja template from the step output?
