Skip to main content
Solved

Cycling over a list in a playbook

  • September 28, 2023
  • 2 replies
  • 47 views

Forum|alt.badge.img+5

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

Best answer by Louis_Mesmin

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

2 replies

Louis_Mesmin
Forum|alt.badge.img+5
  • Bronze 2
  • Answer
  • September 29, 2023

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


Forum|alt.badge.img+5
  • Author
  • New Member
  • September 29, 2023

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