Below is the Example to use an application name in automation script. Display certain error message if current application is Work Order Tracking (Oil):
appname= mbo.getThisMboSet().getParentApp() # Get Current Application name
if appname =="PLUSGWO": # If Appname is Work Order Tracking (Oil)
errorgroup = 'ASSET_DOWN' # Display Error
errorkey = 'ASSET_DOWN_WT'
appname= mbo.getThisMboSet().getParentApp() # Get Current Application name
if appname =="PLUSGWO": # If Appname is Work Order Tracking (Oil)
errorgroup = 'ASSET_DOWN' # Display Error
errorkey = 'ASSET_DOWN_WT'
perfect :)
ReplyDeletethanks :)
Deletethere is also an implicit variable for this "app"
ReplyDeletefor example, if app == 'WOTRACK':
This IBM App Connect Enterprise V11 training covers concepts from Basic level to advance level. Whether you are an individual or corporate client we can customize training course content as per your requirement. And can arrange this IBM App Connect Enterprise V11 training at your pace.
ReplyDeleteIBM APP Connect Enterprise (ACE) V11, which was earlier known as “IBM Integration Bus” or “WebSphere Message Broker” is basically IBM's Integration Broker from the WebSphere product family that authorizes business information to flow between various applications across multiple hardware and software platforms.
Complete Customization of IBM App Connect Enterprise V11 online training course content is possible for Individual students and for Corporate.
Email: contact@maxmunus.com
Call / WhatsApp: +91903588898