global variable shared amongst all my packages

Hi community,

i need to create a global variable that will be shared amongst all my packages, this variable is Result Field of a JDBC adapter that i will use after in another service(Result Field -1) to know if all my record were treated?

if the solution is to use pub.storage please give me an example how to use it to put, get and change my variable,

Regards,

Explore the global variable feature available on IS. What is your wM version?

hi,
@M@he$h : thank you for yr reply, i resolved my probleme by using pub.storage built in services, my wM version is 9.7,

Regards,

@Nezha

Could you please explain the way you have used pub.storage. ?

Hi Experts,

What is the maximum length of “key value” in global variable.?

I heard it’s 255 char but not sure .:frowning: if it’s fixed to some length then how to resolve this issue.

I am looking for handling this if possible by doing some setting changes in wM.

Hi,

for recent wM Version there is an alternative to pub.storage-Services:
pub.cache:*-Services

See IS Build-In-Services Guide for informations on these services.

Regards,
Holger

1 Like

hi,
@nilay mishra : sorry but i didn’t use the storage service,

Regards,
Nezha

Thanks

Thomson.