Get Subgraph's Parent Graph Name and Properties

Trying to figure out how to in CTL2 code to fetch the name of the parent graph for a subgraph. Anyone have ever tried this or know of a solution?

Hi

Unfortunately there is no CTL function to get the name of parent graph. However it can be done by using parameters. You need to create a parameter in the subgraph (e.g. ‘parent_job’) and pass the name via input mapping settings. I have attached an example graph + subgraph, so you can see it in action.

Hope this helps.

Best regards

Thanks ill give that a try. Is there any documentation for CTL besides from the broad CTL language functions. ?

Hi

This is our complete CTL2 documentation, however there are some CTL examples in other categories too.

Best regards