Our Java Service Tasks make WebService (SOAP) calls. Services expect a security token( SAML 2.0) which expire after 20 mins. We renew the token after we validate it for expiry.
We are currently generating these tokens(for the same system user) for each process instance. There is a limit for no. of tokens we can create for a user . Since our processes would run into several thousands we have to re-use our Security Token across Service Tasks across process instances.
As the process variables scope is limited to the process instance, I can not use the security token across processes? If yes, do you have any recommendations?
Thanks