You need to sign in to do that
Don't have an account?
Stefaan Somers 11
How to share login info from webservice over different transactions
Hi,
I've a jobs that updates different records.
A process builder invokes an apex-method that for every record calls a future method.
This future-method will do a webservice call to login to obtain a security key, and next will do the actual webservice-call to update info in the external system.
Can I share the secret key in a certain way for a dedicated period, so I don't need to login every time....
I've a jobs that updates different records.
A process builder invokes an apex-method that for every record calls a future method.
This future-method will do a webservice call to login to obtain a security key, and next will do the actual webservice-call to update info in the external system.
Can I share the secret key in a certain way for a dedicated period, so I don't need to login every time....
As per my understanding you can restrict based on working hrs of the user to update api call info in external system. Else you can use custom setting/named credentials and store them in salesforce.
Thanks,