Does anybody know how to get parent service name in debug mode(step) in the Developer?
I’ve tried to get this running.
If you just execute a flow that calls this functions, everything is working fine and I’m getting the right servicename. But if you run the parent flow in a debug mode (step) in the Developer you get “wm.server.flow:stepFlow” instead of the parent flow name.
Integration Server introduced the public service pub.flow:getCallingService that can be invoked from the calling child service and returns the service and package name of the parent service. The pub.flow:getCallingService service returns the following output parameters:
svcName - String (optional) Fully qualified namespace name of the parent service.
pkgName - String (optional) Package name of the parent service.
If pub.flow:getCallingService is invoked from a service that does not have a parent service (for example, if the service is a top-level service), Integration Server does not return the output parameters.
When running flow services in debug mode, Integration Server can retrieve parent service information from a calling child service.