Splunk Dev

Splunk SOAR : How to call a custom function inside another custom function.

strangemohanraj
New Member

I need to call a custom function inside another custom function . How to implement it?

0 Karma

marnall
Motivator

Can I ask the reason why your custom function must call another custom function? You might be better served by making a playbook with multiple custom functions, or copy-pasting the code from the other custom function into your main custom function.

0 Karma

strangemohanraj
New Member

Two custom functions contains huge codes maintained by two different teams

0 Karma

marnall
Motivator

And it is strictly necessary to sandwich one function in the middle of the other? Can the functions not be shrunk to smaller modules and then arranged as desired in a playbook?

0 Karma
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...