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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

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