The Advanced reference qualifier does not use 'current' correctly on the catalog task form when first loaded. On the Catalog task form, variables are made available by the workflow and execution plan, but when using 'current.variables' in the Advanced reference qualifier, the result is always undefined.

Steps to Reproduce

  1. Create a new catalog item by navigating to Maintain Items > New
  2. Fill in the required details.
  3. Add two variables to the item.
    For example, Name and User.
    1. For Name, provide the following values:
      1. Type:  SelectBox
      2. Fill in the question name and variable name in the Question section.
        For example, Name, name.
      3. Save the variable.
    2. For User, provide the following values:
      1. Type:  Reference
      2. Fill in question name and variable name in the Question section.
        For example, User, user.
      3. In the Type Specifications section, choose the [sys_user] table as reference.
      4. For Use reference qualifier, choose Advanced.
      5. Enter any qualifier that uses the current object.
        For example, Reference qualifier: javascript: 'user_name='+current.variables.name;
  4. Select an execution plan/workflow for the item.
    For example, DEFAULT (execution plan).
  5. Select at least one task that is defined in the workflow/execution plan you selected and add variables to the task.
    For example, select the Provide Service execution plan task and in the Variables related list, add the variables you defined.
  6. Try to order the item by clicking Try It.
  7. Enter a user name in the Name question.
    For example, abel.tuter.
  8. Order this item. 
  9. Open the request item that was created against this order and item.
  10. In the Catalog Task related list, select the item to which you added variables.
    For example, Provide Service.
    Note that the Name and User variables appear in the Catalog Task form.
  11. Click the magnifying glass icon for the User variable.
    Note that the popup window shows no records. The reference qualifier should filter the user records. In the example, it should only show Abel Tuter.


There is no known workaround for this issue. If you are able to upgrade, review the Fixed In field to determine the versions that have a permanent fix to this issue. 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.

Related Problem: PRB649908

Seen In

Eureka Patch 12
Fuji Patch 8
Helsinki Patch 2

Fixed In

Fuji Patch 10
Fuji Patch 8 Hot Fix 2
Geneva Patch 1

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-04-10 13:15:03