Can't Recieve Context Variable From Plug-in Script
Last updated on OCTOBER 18, 2016
Applies to:Oracle Utilities Customer Care and Billing - Version 2.2.0 and later
Oracle Utilities Framework - Version 2.2.0 and later
Information in this document applies to any platform.
Context variable is not being passed to plug-in script when validating characteristic type on the Account page. The context variable is expected to contain the value from the current context.
The issue can be reproduced at will with the following steps:
1. Add a new plug in script with the following steps:
20: move $$ACCT_ID to "parm/hard/reformattedValue";
30: move 'true' to "parm/hard/validAdhoc";
2. Add a new Algorithm Type using the above script.
3. Add a new Algorithm for the above Algorithm Type.
4. Add a new adhoc Characteristic Type with the above Algorithm as validation algorithm for the Account Entity
5. Go to the account page and enter a value for this new Characteristic Type
6. Save to invoke its validation.
7. The value saved is empty.
8. Check out the debug logs generated: The ACCT_ID value passed to the validation script is empty
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms