Getting CSRF Token for SAP OData Create service in a Schedule event.

In a schedule event, I am calling a microflow which call a SAP OData service to create object in Back-End. Since in the schedule event session object is empty, I cannot get CSRF token from association CSRFToken_Session or may be its not created as well. And its important to have CSRF token before Create service call. Please help what should we do in such scenario.  
1 answers

You might want to try to execute a microflow as user first to get a CSRF token. See the community commons executeMicroflowAsUser action. This way you can still use scheduled events but in the context of a user and thus circumvent the problem.