Variable editor field value cleared on catalog task recordIssue On a catalog task record, a required field in the variable editor does not retain its value after the form is saved. The value is cleared even when entered from an admin account. The value entered is stored in the **sc_item_option_mtom** table, so the data is persisted — a Catalog UI Policy Action is clearing the displayed value in the variable editor. **Symptoms** - A required field in the variable editor of a catalog task does not display its saved value after the form is saved.- The value is cleared regardless of the account used, including admin accounts. **Facts** - Affects catalog task records created from a catalog item that has a Catalog UI Policy Action configured.- The **Clear the variable value** field on the Catalog UI Policy Action is set to true.- The value is stored in the **sc_item_option_mtom** table but does not display in the variable editor. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All ReleasesCause A Catalog UI Policy Action on the catalog item that the task was created from has the **Clear the variable value** field set to true. This causes the variable editor to clear the displayed value each time the form is evaluated, even though the value is stored in the **sc_item_option_mtom** table. Resolution To stop the variable editor from clearing the field value, uncheck the **Clear the variable value** field on the Catalog UI Policy Action. 1. Navigate to the Catalog UI Policy Action for the catalog item that the task was created from.2. Open the relevant Catalog UI Policy Action record.3. Uncheck the **Clear the variable value** field.4. Save the record. After saving, the value will no longer be cleared from the variable editor and will display correctly. If unchecking **Clear the variable value** does not resolve the issue, review all Catalog UI Policies and Catalog Client Scripts associated with the catalog item. Verify that their task-level applicability settings are correctly configured and that no policy is inadvertently re-evaluating or overriding field values on the `sc_task` form load. Also check that no field in the variable editor has been added to multiple form sections on the same form. Use Configure > Form Layout to review the form layout and remove any duplicate field entries, as duplicate fields can cause values to appear unsaved after form submission. Related Links - [Fields are not saving, and other odd behaviors when saving a record — Now Support Portal](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0678745)- [Mandatory variables on catalog task are not getting saved on task after saving the form — Now Support Portal](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0871074)