Catalog UI policies with scripts on scoped application catalog items do not work on Service Portal.

Steps to Reproduce

  1. Install the Human Resources Scoped App: Service Portal [ com.sn_hr_service_portal] plugin with demo data.

  2. Select Human Resource: Service Portal from Application picker.

  3. Go to the Disciplinary Issue Inquiry record producer (

  4. Create new Catalog UI Policy with the following values:

    • Run scripts in UI Type: All
    • Run scripts: true
  5. Navigate to http://<instance-name>

  6. Select the Disciplinary Issue Inquiry catalog item (

  7. Check for console errors.

    The following errors appear:

    (g_env) [UI:SCRIPT_TRUE] Could not load UIPolicy script for policy "Qualifying Period"
    (g_env) [UI:SCRIPT_FALSE] Could not load UIPolicy script for policy "Qualifying Period"
    UI policy script error: TypeError: Cannot read property 'execute' of undefined



This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

Related Problem: PRB1078186

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-08-23 16:39:16