Skip to main content
Question

How to determine the current user in a workflow

  • February 18, 2025
  • 3 replies
  • 126 views

PieterBroere
Sidekick (Partner)
Forum|alt.badge.img+6

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

3 replies

PhillBronson
Hero (Customer)
Forum|alt.badge.img+10
  • Hero (Customer)
  • 108 replies
  • February 18, 2025

We do that like this:
 

 


dsj
Superhero (Partner)
Forum|alt.badge.img+22
  • Superhero (Partner)
  • 824 replies
  • February 18, 2025

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


Himasha Abeywickrama
Superhero (Customer)
Forum|alt.badge.img+18

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings