The Resource Workbench fails to open. The UI action causes an error in the code.

Steps to Reproduce

  1. Navigate to Resource Management > Resource Plans > All.
  2. Open a resource plan record.
  3. In Related links, select Resource Workbench.
    Note that the Resource Workbench is not displayed. The screen returns to the resource plan record/list view for the resource plans and the following error is seen in the logs:

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "RP" is not defined.

   Caused by error in <refname> at line 29


     26: url += "&sysparm_entity_type="+entityType;

     27: url += "&sysparm_entity="+entityId;

     28: url += "&sysparm_resource_plan="+resourcePlan;

==>  29: if (RP.isRelatedList())

     30:     url += "&sysparm_return_url="+returnUrl;

     31: else

     32:     url += "&sysparm_return_url=resource_plan.do?sys_id=" + resourcePlan;


  1. Navigate to System Definition > UI Actions.
  2. Search for and open the UI action named Resource Workbench.
  3. In the Script field, comment the following three lines of code (lines 29, 30 and 31):

   if (RP.isRelatedList())
   url += "&sysparm_return_url="+returnUrl;

Related Problem: PRB674425

Seen In

Helsinki Patch 3
Helsinki Patch 5
Helsinki Patch 6 Hot Fix 1
Helsinki Patch 7

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-01-18 08:58:40