Jump to content
The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now! See more information here ×

Tibco BW Designer 5 How can I use a password type GV as a string variable in BW process


Abhishek Girme

Recommended Posts

Hi, I want to use a Global variable of type password in Bw process. When i set the type password, the GV variable is not available because it is hidden or Encrypted.

If i choose the type string, the GV variable became available in the process. I want to decrypt it or use as a string in the BW process.

Thanks in advance.

Link to comment
Share on other sites

Password type global variables are not exposed as a string so You can not use a password type in BW process.

Using the java code you will be able to access the password type of global variable as a string in BW process.

String DecryptedString = com.tibco.pe.plugin.PluginProperties.getProperty( "tibco.clientVar.myPassword");

where myPassword is a GV of type Password.

Sample BW code is attached below.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...