Support Article
Property pxGuardrailComplianceScore defaults to 100 on Reference
Summary
When attempting to make any reference to the pxGuardrailComplianceScore property, returned on the custom page of class Embed-Guardrails; either in a When rule or property-set or simply a Page-Copy, it causes the result to default to 100.
Error Messages
Not Applicable
Steps to Reproduce
1. In a custom activity prepare calls to the following Out-of-the-box (OOTB activities:
a. Call pzPrepareNewLandingPage (Need to set params 1st, then pass params via tickbox)
b. Call pzPrepareScoreData
2. Create a Flow that displays the application Compliance Score.
3. Now make reference to the returned pxGuardrailComplianceScore property, either in a property-set or When rule.
It causes the result to default to 100.
Root Cause
A software use or operation error : Application name parameter missed in the activity.
Resolution
Pass the application name parameter to the custom activity for the declare expression in pxGuardrailComplianceScore to process.
Published March 29, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.