<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Calling Playbook in Custom Function in Splunk SOAR</title>
    <link>https://community.splunk.com/t5/Splunk-SOAR/Calling-Playbook-in-Custom-Function/m-p/670708#M1332</link>
    <description>&lt;P&gt;I want to run an Enrichment playbook inside a custom function. Looking to pass in a list of devices and call the playbook each time passing in a single deviceId at a time. What is the best way to do this?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2023 21:21:04 GMT</pubDate>
    <dc:creator>LowAnt</dc:creator>
    <dc:date>2023-12-04T21:21:04Z</dc:date>
    <item>
      <title>Calling Playbook in Custom Function</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Calling-Playbook-in-Custom-Function/m-p/670708#M1332</link>
      <description>&lt;P&gt;I want to run an Enrichment playbook inside a custom function. Looking to pass in a list of devices and call the playbook each time passing in a single deviceId at a time. What is the best way to do this?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 21:21:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Calling-Playbook-in-Custom-Function/m-p/670708#M1332</guid>
      <dc:creator>LowAnt</dc:creator>
      <dc:date>2023-12-04T21:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Playbook in Custom Function</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Calling-Playbook-in-Custom-Function/m-p/674521#M1366</link>
      <description>&lt;P&gt;Unfortunately, according to the &lt;A href="https://docs.splunk.com/Documentation/SOARonprem/6.2.0/PlaybookAPI/PlaybookAPI#playbook" target="_self"&gt;documentation&lt;/A&gt;, calling a playbook from within a custom function is not supported. What you could do instead is move the custom function into the playbook, then call the playbook anywhere you would have put the custom function. As for calling the playbook once for each deviceID, if you're getting them from an artifact field, you can plug that field in, and SOAR will loop through each value for you.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 14:58:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Calling-Playbook-in-Custom-Function/m-p/674521#M1366</guid>
      <dc:creator>SOARt_of_Lost</dc:creator>
      <dc:date>2024-01-17T14:58:32Z</dc:date>
    </item>
  </channel>
</rss>

