Skip to Content
1
Sep 14, 2023 at 01:37 PM

how to set the user running your (groovy) script

101 Views

My integration flow has a groovy script step.

Usually the user executing this script is the user being stored in the header property: header.SapAuthenticatedUserName, which is the authorized user to call the integration flow.

But I want to change the user before executing my groovy script step. Is there any way to do so?

The user executing my groovy script must always be the same user and has specific authorizations. But.. how to do this? Can it be done?