I have an orchestration that calls another orchestration.
Is it possible to get the orchestration name or id of the parent in the calling orchestration in an Expression shape?
I have an orchestration that calls another orchestration.
Is it possible to get the orchestration name or id of the parent in the calling orchestration in an Expression shape?
Out of the box is not possible, so you would need to pass it as a parameter from your calling orchestration.
There is the option to pick up the name of the orchestration like so: Microsoft.XLANGs.Core.Service.RootService.Name
.
However, when calling an orchestration and using this method, you will get the name of the CALLING orchestration in your CALLED orchestration.