BI Publisher (MOSC)

MOSC Banner

XPATH - IF Condition in eText Template

edited Aug 2, 2018 10:17AM in BI Publisher (MOSC) 11 commentsAnswered

Team,

We need to return one value based on the condition meet. I am using the below condition in eText Template. No errors. The conditions are not working correctly. even though many employees meet with third condition still the second condition value is getting returned in output.

IF (Link_User_Role/User_Roles/User_Roles_Rec[Role_Common_Name=‘LINE_MANAGER_HQ_CUSTOM’]/Role_Common_Name or

    Link_User_Role/User_Roles/User_Roles_Rec[Role_Common_Name=‘LINE_MANAGER_SBU_CUSTOM’]/Role_Common_Name) and

   (Link_User_Role/User_Roles/User_Roles_Rec[Role_Common_Name !=‘LOCAL_HR_SPECIALIST_DATA’]/Role_Common_Name and

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center