Cycling over a list in a playbook

Hi all,

I was wondering if there is a way to cycle over a list of values inside a playbook. 

I've written an action inside my integration that fetch some data and return a json object, now I would like to repeat an action for every item of the json object.

Thank you in advance

Solved Solved
1 2 1,276
1 ACCEPTED SOLUTION

Dear @Antonino_La2 ,

I believe we experienced the same need and as far as I remember three options were on the table for us :
1) Using Entities because with thel you can use sort of a built-in Loop mechanism that is available depending on how the SOAR action is developped (some action are supporting multi entities and others not). So maybe you will also need to develop an action. But it is possible entities are absolutely not what you are using in your specific loop use-case.

2) Develop from scratch your own action to do this loop mechanism. This is what we have selected as a solution for our needs.

3) Wait for a loop feature to be available. We were told by our CSM that this was considered by the Product Team but I don't know if this feature has been validated and if it is already planned for a future release.

Louis

View solution in original post

2 REPLIES 2

Dear @Antonino_La2 ,

I believe we experienced the same need and as far as I remember three options were on the table for us :
1) Using Entities because with thel you can use sort of a built-in Loop mechanism that is available depending on how the SOAR action is developped (some action are supporting multi entities and others not). So maybe you will also need to develop an action. But it is possible entities are absolutely not what you are using in your specific loop use-case.

2) Develop from scratch your own action to do this loop mechanism. This is what we have selected as a solution for our needs.

3) Wait for a loop feature to be available. We were told by our CSM that this was considered by the Product Team but I don't know if this feature has been validated and if it is already planned for a future release.

Louis

Hi @Louis_Mesmin 

Thank you for the confirmation. I think we will proceed developing our custom action from scratch, it looks like it's the only suitable way right now. 

A