In Policy Xpress (PX), SQL query behavior varies significantly depending on whether the query is executed within the Data tab or the Action tab. Users may find that a query successfully tested in one area fails to execute as expected in the other due to the specific architectural purpose of each tab.
Identity Manager
The failure occurs because the Policy Xpress engine treats the two tabs with distinct functional logic:
SELECT statements meant to gather information to be used as variables within the policy.INSERT, UPDATE, or DELETE to perform external database updates.To ensure SQL queries execute correctly, match the query type to the appropriate PX tab:
SELECT queries in the Data tab.