Hi Han Pieter,
You can use the CommunityCommons.executeMicroflowAsUser_ x to simulate a queued action as if it was in a user context. In this Java action you can specify a ‘performing’ (local system) user, the microflow that you want to run, and at least 1 input parameter that is needed to perform the microflow. You will then be able to fetch your required CSRF token and session ID cookie which are needed for the POST.
Regards, Joost
Hi,
as far as I remember the latest Connector was also able to handle CSRF Tokens in a server context. But the token is only stored within the execution context of the microflow (it’s not persisted).
regards, Fabian