Skip to main content
Question

Workflow Internal Input Variable ifsBpaCurrentUserId is not working

  • February 12, 2026
  • 1 reply
  • 34 views

Forum|alt.badge.img

I am trying to read the internal input variable ‘ifsBpaCurrentUserId’ in a workflow. The result is zero.
We are using IFSCloud 25R1 SU5.

 

Script:

var debugUserID = execution.getVariable('ifsBpaCurrentUserId');
var debugUserDirectoryID = execution.getVariable('ifsBpaCurrentUserDirectoryId');

// Set UserID
execution.setVariable('UserID', SingletonUser_Set[0].Identity);
execution.setVariable('debugUserID_', debugUserID );
execution.setVariable('debugUserDirectoryID_', debugUserDirectoryID);

 

Result:
 

 

Has anyone else encountered the same error? Is this a bug?

1 reply

Forum|alt.badge.img+3
  • Do Gooder (Employee)
  • February 14, 2026

Hi ​@BUCH-ANDJOR ,

I tested this for IFSAPP and a different user as well in IFS25R1BNDEVCMB 25.1.9 (SU9), and it works fine for me.