When Using Hierarchies with Security Dimension as an Argument, Attribute Function Fails with Error "mace caught Exception: You do not have access to any position due to position security set on dimension dvsn. mace exited with status: 4"

(Doc ID 1919083.1)

Last updated on JULY 20, 2017

Applies to:

Oracle Retail Predictive Application Server - Version 13.4.3 and later
Information in this document applies to any platform.

Symptoms

When the function "attribute" is used in a mace expression, an error occurs when the hierarchy (with security dimension setup) is used as an argument.

For example, the following mace expression resulted in the exception below:

Expression::eval() caught exception:
You do not have access to any position due to position security set on dimension scls.
mace caught Exception: You do not have access to any position due to position security set on dimension scls.
mace exited with status: 4

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms