My Oracle Support Banner

Unable To Use Ids:getUserRoles XPath Function In BPM 12c (Doc ID 2707136.1)

Last updated on SEPTEMBER 09, 2020

Applies to:

Oracle Business Process Management Suite - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 version, Orchestration Engine

When attempting to use the ids:getUserRoles function in the BPM Process to fetch roles for given user nothing is returned



As per the documentation
https://docs.oracle.com/middleware/1213/soasuite/develop/GUID-B37B91AF-0036-47EC-AB9F-FCBCD2BA55E2.htm#SOASE87837
getUserRoles() syntax is :
Signature:
ids:getUserRoles(userName, roleType, direct)

roleType: The role type that takes one of three values: ApplicationRole,
EnterpriseRole, or AnyRole.

When passing 'roleType' as 'AnyRole' nothing is returned as the system was expecting "Any" value instead.

changes were made to work with both values: "Any" and "AnyRole".

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.