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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...