Accessing password data type Global Variables in TIBCO ActiveMatrix BusinessWorks

For example, if project defined a global variable named 'dbpassword' and its data type is Password ,So then its value displays as * (Asterisk)  only,we can access " * " the value of the global variable with the following Java code:
 String password =   com.tibco.pe.plugin.PluginProperties.getProperty("tibco.clientVar.dbpassword");

Take one business process in designer and drog & drop the Java Code Activity and define a out parameter "Output" in configuration tab and write the below code 

 String password =   com.tibco.pe.plugin.PluginProperties.getProperty("tibco.clientVar.dbpassword");
 Output=password;


and run this process we can get the password value in Output parameter.

We must specify the full path for global variables contained in variable groups to access the variable’s value. Use the slash character (/) to separate each element in the path.
We can use the com.tibco.pe.plugin.PluginProperties.getProperty() method to retrieve any Java system property or global variables defined in a project.
Global variables are contained in Java System properties that are prefixed with tibco.clientVar.

BW Error: Call process input failed validation , BWENGINE-100067

Development of the project doesn't shown any error in validation for deployment.But this error could be caused by invalid runtime data.

Resolution:Please check the input mappings for the Call Process activity

BWENGINE-100067:Call process input failed validation
Role:errorRole

Category:BW-Core
Description:The input data passed to the Call Process activity did not conform tothe input of the called process


Resolution:Please check the input mappings for the End activity in the process that was called

BWENGINE-100068:Call process results failed validation
Role:errorRole

Category:BW-Core
Description:The process that was called returned results that were not expectedby the Call Process activity


  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP