FortiSOAR Discussions
adem_netsys
Contributor

Playbook Variable

Hi guys,

 

How can I use the set variable value in a playbook I created in a different playbook?

1 Solution
dspille
Staff
Staff

Hello Adem_netsys,

 

The most common way this is done is by adding a parameter to your referenced (child ) playbook via Tools > Parameters.  Then you are able to pass specific variables to that playbook

 

parameter.PNG

 
 

When you call the child/reference playbook from the parent playbook, you are able to insert variables into the new parameter

parent_variable.PNG

call_reference.PNG

 

Then back in the child playbook you can use the parameter using parameter.PNG

 

When we run the playbook we can confirm that the variable was passed.

 

playbook_execution.PNG

 

I've attached this playbook to my comment so feel free to give it a try. Hope this helps!

Dylan Spille

View solution in original post

10 REPLIES 10
adem_netsys

Hello Dylan,

 

Is there any chance to determine the variable value according to the raw data content from the alarm?

Thanks