Store Token from Connector Definition as System Property or ServiceNow Cred or as File in MID server

navneeth_nalin
Tera Contributor

Hi All,

 

I have a ServiceNow custom connector definition created and set to run every 5 mins. This connector definition obtains a token from a platform each time it is invoked. Since the tokens have a TTL of 24 hours, I would like to store the token either in ServiceNow MID server or as ServiceNow system property. Can you please help with some sample code for this requirement or suggest ideas on how this can be achieved ?

 

Thanks

0 REPLIES 0