Hello,
In some data ingestion steps that are relying on pagination ( OpenCTI "Get Indicators" action for instance ), while using for loop in playbook step, we need to provide the output variable of one loop as an input for the next loop to be executed. How can we achieve this?
Regards
Fabien
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
You can create one parent playbook and one child playbook which is self referenced
You can set variables in a playbook step, use those variables in next steps and then after that you can use decision step to go back to any previous step based on the condition that you define.
Thank you for your reply.
We tried this but it does not allow us to go back to any previous step again, i.e : one step can be executed only once.
Here is the error message for reference:
"CS-WF-13: Invalid Playbook. Playbook should always be Directed Acyclic Graph"
Hi @okumbhar
Thank you for the answer.
This helped us for a smaller set of data but for huge data : lets say 2k or more , it gets stuck with error : CS-WF-52: Possible infinite recursion detected. Aborting after a depth of 10 runs referencing the same playbook.
I think we need to add a new checkbox parameter 'Fetch All Records' in the action, which will return all records, so the logic of fetching all records can be written in backend code instead of trying to implement it in playbook.
When can this be implemented. Also is it not possible to implement a feature which calls a [playbook step]/playbook recursively with a definite number of times which can be defined by the user, so that it does not assume that it will go to infinite loop
Created on ‎02-14-2024 10:52 PM
Thank you for your valuable suggestion! We've taken note of your request and will explore its feasibility for future consideration. Given our current focus on multiple customer priorities, it's challenging to commit to a specific timeframe, but please know we'll diligently pursue this matter.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.