Skip to main content
Solved

Array string

  • May 2, 2024
  • 2 replies
  • 73 views

Forum|alt.badge.img+1

Hi,

In my playbook (working with blocks) I am doing a check of known technologies so:

In Input I have the string ‘Google LLC’ (derived from [Check_IP.JsonResult|‘EntityResult.isp’]) via the condition block I check if the string Google is contained in another string called Google.

i.e: [[Check_IP.JsonResult|‘EntityResult.isp’] Contains Google].

My problem is that there are multiple technologies and creating different branches each time doesn't seem optimal, isn't there a way to create some sort of array that compares all the annotated technologies with the one taken as input.

Thank you.

Best answer by mccrilb

I have been using the Set and Get Scope Context Value in the Siemplify Functions. You can create a variable with the playbook that can be set to be Alert, Case or Global in context. And then use that output as input into your other playbooks.

2 replies

mccrilb
Forum|alt.badge.img+12
  • Silver 2
  • Answer
  • May 5, 2024

I have been using the Set and Get Scope Context Value in the Siemplify Functions. You can create a variable with the playbook that can be set to be Alert, Case or Global in context. And then use that output as input into your other playbooks.


Forum|alt.badge.img+1
  • Author
  • New Member
  • May 6, 2024

thank you.