Actions are a great way to build libraries for workflow but there are times when I would like to call an Action from another Action. I tried:
myResult = GetAction("MyModule","MyAction").call( 12345678.0 , "Hello world." );
... and that burst into flames. I also know about calling workflows from other workflow, but isn't what I'm looking for.
You need to user System.getModule(). Try
var myResult = System.getModule("MyModule").MyAction(12345678.0 , "Hello world." );
I figured this out while looking at another thread (https://code.vmware.com/forums/3055/vrealize-orchestrator#576165). The solution is:
System.getModule("MyModule").MyAction( 12345678.0 , "Hello world." );
You need to user System.getModule(). Try
var myResult = System.getModule("MyModule").MyAction(12345678.0 , "Hello world." );