Why Is the 'INSERT_OR_UPDATE' Action Not Captured in the Update Set for a Newly Created Variable?

natchen
Tera Contributor

I created some variables for a new form. After deleting variable A, I can see that the deletion is captured in the update set with the action 'DELETE'. However, the action 'INSERT_OR_UPDATE' for variable A is not captured in the update set. Does anyone know why this happened? Thank you!

1 ACCEPTED SOLUTION

J Siva
Tera Sage

Hi @natchen 

That's the expected behaviour. Each file (artifact) should have only one corresponding customer update entry. This single entry will be updated or modified as necessary, rather than creating multiple customer update records for different operations related to the same artifact.

To confirm this you can validate the created and updated time of the customer update record.

Screenshot_20250318-060403.png

Hope this info helps.

Regards,

Siva

View solution in original post

3 REPLIES 3

Vishal Jaswal
Giga Sage

Hello @natchen 

Open table: sys_update_xml and then apply filter as Type is Variable and Action is INSERT_OR_UPDATE and Target name as your Variable name (if you know it):

vishal_jaswal_2-1742249304554.png

 

Find out the name of the update set where this variable with INSERT_OR_UPDATE action is and then you can change the update set name as per the update set that you want.

Hope that helps!

 


Hope that helps!

J Siva
Tera Sage

Hi @natchen 

That's the expected behaviour. Each file (artifact) should have only one corresponding customer update entry. This single entry will be updated or modified as necessary, rather than creating multiple customer update records for different operations related to the same artifact.

To confirm this you can validate the created and updated time of the customer update record.

Screenshot_20250318-060403.png

Hope this info helps.

Regards,

Siva

Ankur Bawiskar
Tera Patron
Tera Patron

@natchen 

you deleted it so DELETE action for variable A will be captured.

Each component will have only 1 entry either DELETE or INSERT_OR_UPDATE.

This is used by system during the update set migration and is OOB behavior.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader