i want to delete these two versions?

lakng
Tera Contributor

i dont want to see the versions here,

perviously there were no versions there. by mistake it got updated by me. 

then these versions are showing like this.

i dont want to see this.

there should be no versions.find_real_file.png

1 ACCEPTED SOLUTION

var gr = new GlideRecord('sys_update_version');
gr.get('9725bf11db9d6740e4d95740cf9619f0'); // pass the sys_id of those version one by one and run it in background script.
gr.deleteMultiple();

View solution in original post

13 REPLIES 13

Ajaykumar1
Tera Guru

Hi,

To hide versions : R.click on form header > configure related lists > Remove versions from selected to available list.

Refer the screenshot below.

find_real_file.png

Mark If Correct/Helpful.

Regards,
Ajay

lakng
Tera Contributor

am not asking to hide the option.

asking to remove versions and versions should be blank.

there should be no versions

you can delete it if you don't want. but it will not be an issue if you can keep it.

you can revert back the changes to previous version by right click on last source column>> revert to this version

 

but it will again add another version and track that you have moved to the older version.

the thing is, 

i was going through checking archive in UI Actions for one thing in PRODUCTION environment.

i was open the archive UI action and after that i did something and suddenly the version is running as current.

previously there was no versions at all.

and it is showing like updated by me.

i dont want any versions in it . neither current nor something.