- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 08:16 AM
Washington DC Patch 2 Hotfix 1
We set up a service catalog to allow users to request resources from other IT groups to be assigned to change tasks.
When the service catalog is submitted, variables for resources are made visible and set as mandatory.
If the user opens the catalog task and tries to close it without populating the resource variables, the task is not closed and an error message is displayed regarding the mandatory variables. The user can populate the variables and close the task.
However, if the user instead opens the requested item, the catalog tasks are displayed in a related list. If the user closes the task from the related list, the task actually closes even though the mandatory variables are empty.
We tried creating a 'before update' business rule to prevent this from happening. The business rule seems to function appropriately when the user tries to close the task from the catalog task related list on the requested item. If the user tries to close the task from the catalog task form without assigning resources, the error message is displayed; the state shows as closed complete but is not saved. Then the user is kind of stuck. They need to close and reopen the catalog task and need to populate the resource variables, Save, then Close Task. This process is viewed as awkward and problematic because it requires a Save prior to Close Task.
We need to make the resource variables mandatory on closing the task regardless of the way the task is closed; that is, from both the catalog task form and from the related list on the requested item. However, we don't need resources assigned unless the task state is closed complete.
Any suggestions would be appreciated.
Thank you!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 08:29 AM
If your use case for the form works correctly, and the Related list is the only issue, then you could create an onCellEdit script to prevent the changing the State field from a related list. If you want to go the business rule route, you can do what you are currently doing, but make sure to refresh the page when preventing the save.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 03:22 AM
We decided to go with the onCellEdit suggestion you made. Afterwards, we found there is a similar issue if the user selects a catalog task from the related list on the request item and then selects Close Task from the Actions on selected rows dropdown. It was decided to handle this as a training issue.