Skip to main content

Hi

 

How would it be possible to determine the current user in a workflow ?  In PL/SQL we did it through the Fnd_Session_Api, but I am not able to find the correlating Projection in IFS Cloud.

 

Any suggestions ?

 

Regards, Pieter

We do that like this:
 

 


Hi ​@PhillBronson ​@PieterBroere

ifsBpaExecutionUserId has been deprecated since 24R1.

 

There are two inbuilt variables which can be used based on the requirement

ifsBpaCurrentUserDirectoryId Added internally at runtime. Holds the current directory ID.
In some cases like SSO, the ifsBpaCurrentUserDirectoryId and the ifsBpaCurrentUserId are non-identical.
ifsBpaCurrentUserId Added internally at runtime. Holds the current user ID.

 

Check the documentation for all available internal variables

IFS REST Call - Technical Documentation For IFS Cloud

 

Hope it helps!

Damith


@PieterBroere,

Below works for me,
Context substitution variable in workflow/BPA | IFS Community


Reply