195 views

Description

Catalog task cannot be saved or closed because mandatory fields checks fails. Caused by Mandatory variables even if the variable is not included in sc_task.

Steps to Reproduce

  1. Create a variable set, and create a variable in the set. Mark the variable as mandatory.

    For more information, see the product documentation topic Service catalog variable sets.

  2. Create a catalog item and include the variable set.

  3. Create a requested item workflow, then associate it to the catalog item.

    For more information, see the product documentation topic Requested Item widget.

  4. In the workflow, use a Catalog Task activity. Fill in the required information but do not include any variable in the task.

    This means this task doesn't have any variables from the requested item. 

  5. Test the item.

    The sc_task will be created with the requested item. 

  6. Open the task and try to save it.

    Note that the mandatory check fails. Making the variable in the set non-mandatory makes a difference.

OR

  1. Import the attached update set.

  2. Test the PRB1291018 - TEST Item catalog item after importing the update set.

  3. Commit the update set.

  4. Go to Self-Service > Service Catalog and search for "PRB1291018 - TEST Item".

  5. Open the item and click Order Now.

  6. Open the Requested Item after ordering.

    A catalog task generated by the workflow.

  7. Open the task from the related list, and click Save to update the task.

 

Workaround

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 and Intended Fix Version fields to determine whether any versions have or are planned to have a permanent fix.

 


Related Problem: PRB1291018

Seen In

Kingston Patch 6

Intended Fix Version

Kingston Patch 8
London

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-07-13 04:30:04
Published:2018-06-25