Donald Long 2 Posted March 27, 2019 Share Posted March 27, 2019 I need to know my application name at runtime in Business Events. The Engine Name isn't accurate enough For example, i have 2 instances of an application running on a single server APP_TEST_LB1 APP_TEST_LB2 I need to be able to test in one of the rules which instance is running. is there a property or function for that I see that in the application logs the proper application name is listed.. so it should be accessible, right Thanks Link to comment Share on other sites More sharing options...
Vijaykumar Pinniboina Posted August 16, 2019 Share Posted August 16, 2019 HI There, We have catalog functions available to getAgentName and getClusterName and getAgentId under our function grouping named "Cluster". Please explore. Function: Cluster.getAgentName Signature: String getAgentName() Description: Returns the name of the BE Agent Returns: String The name of the agent Example: String cName = ClusterFunctions.getAgentName(); ========== Function: Cluster.getAgentId Signature: int getAgentId() Description: Returns the unique id of the agent Example: int cAgentId = ClusterFunctions.getAgentId(); Cluster.getAgentId() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now