Blog Post Contributors:Rama Krishna Rayudu (Principal Software Engineering Manager), Rohitha Hewawasam
(Principal Software Engineering Manager) and Kent Weare (Principal Product Manager)
Recently, a customer asked about how to retrieve some details about the running Azure Logic Apps (Standard) instance. They were interested in some specific details that would help them populate error traces including:
Logic App URL
Logic App Name
The question now is how we go ahead and retrieve these values at runtime? The answer lies in expressions. However, some of the expressions used to obtain these values aren't visible, hence documenting it here. When it comes to Workflow Name, an existing property exists as part of the workflow() expression. But, for the others we can take advantage of the appsetting() expression.
Note: There may be some settings which are not relevant for Azure Logic Apps and as a result may not have been implemented.
But, we can look at the App Settings that have been included for your Logic Apps instance by viewing the App Settings for your Logic App (Standard) instance in Kudu. For instructions on how to access Kudu, please see the following post.
To view this content in video format, please check out the following YouTube video: