What Variables are Available in App Broker?
Variables can play an important part when defining custom commands and web service actions.. In addition, they are frequently used in notifications. When editing a notification or a command there is a variable editor which will provide some of the variables which may be available.. The App Broker documentation lists a few of the variables which can be resolved, but it is by no means a complete list. The single best source for a list of variables can be found in the web service integration.asmx. This web service has a function named GetResolvedRequestVariables. You can invoke this web service by pasting http://localhost/esd/ws/integration.asmx into a browser on the App Broker server.. You will have to enter a RequestID for a request which has been submitted previously.. Once the invoke button is selected, a list of all available variables will be displayed in the browser, for the RequestID in question.. While the variables may vary somewhat between one request an the next, the list will be fairly static..
It should be noted that these variables will generally work with any command or notification.. There are exceptions to this rule, however. Those notifications pertaining to My Apps Alerts (those starting with the name My Apps) are very limited when it comes to resolving variables. Typically, a notification pertaining to My Apps can only resolve those variables which are defined in the default notification.. They will not resolve any additional variables. Likewise, those variables which are defined in the My Apps Notifications can not be used elsewhere, or even in other My Apps notifications.
The following screen capture shows where the variable editor is located, when editing a notification (the editor is not obvious):
The following links are also pertinent to variables in App Broker: