You need to sign in to do that
Don't have an account?
asgirisoft
UserInfo.getSessionId() returns null on a time-based trigger
Hello,
I have a future callout from a time-based trigger. This callout in turn calls a Visualforce page.
On the trigger, UserInfo.getSessionId() returns null, hence the page does not get invoked; the Http callout hits the Salesforce.com login page.
Please suggest a way to obtain the sessionid on a Apex trigger invoked by a Time based workflow.
What is the validity time for a SFDC sessionid?
Andi Giri
Softsquare
www.softsquare.biz