Nothing happens when clicking the 'Cancel Clone' or 'Rollback' UI Actions under Related Links on the System Clone form.


Description

To cancel a Clone Request, you would navigate to System Clone > Live Clones > Active Clones, and use the 'Cancel Clone' UI Action under the Related Link section.

To roll back a Clone (this must be requested within a week time after the Clone is completed), you would navigate to System Clone > Live Clones > Clone History, and use the 'Rollback' UI Action under the Related Link section.

However, when clicking on those UI Actions, nothing happens.

An error such as the one below can be observed in the Console:

Uncaught SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at confirmRollback (clone_instance.do?sys_id=fc223e081be03c100629422ccc4bcb5f&sysparm_record_target=clone_instance&sysparm_record_row=2&sysparm_record_rows=19&sysparm_record_list=state!%3DDraft^ORDERBYDESCsys_created_on:641)
    at HTMLAnchorElement.onclick (clone_instance.do?sys_id=fc223e081be03c100629422ccc4bcb5f&sysparm_record_target=clone_instance&sysparm_record_row=2&sysparm_record_rows=19&sysparm_record_list=state!%3DDraft^ORDERBYDESCsys_created_on:647)

Release or Environment

New York onwards

Cause

From New York onwards, the Cloud Details field (cloud_details) is parsed in the UI Action. When it's missing from the form, the above Console Error can be observed.

 

Resolution

Add the 'Cloud Details' field (cloud_details) to the 'System Clone' [clone_instance] form. This field will be hidden to users by default.

Additional Information

Documentation about canceling and rolling back a Clone Request:

https://docs.servicenow.com/bundle/rome-platform-administration/page/administer/managing-data/task/cancel-clone.html

https://docs.servicenow.com/bundle/rome-platform-administration/page/administer/managing-data/task/roll-back-a-clone.html