Cancel old approvals

SnowUserDev
Tera Contributor

Hi Experts,

 

I have a old list of approvals which needs to be cancelled. This approvals are not linked to any target record as it was brought while moving from another instance.

Can you please provide a script for that please.

1 ACCEPTED SOLUTION

Danish Bhairag2
Tera Sage
Tera Sage

Hi @SnowUserDev ,

 

U don't require any code to do this in this case. Just navigate to the approval table. Filter the records which u want it to be cancelled or not required whatever state u wish. Once u have the records in the list view right click on the column n select data management u will get two options.

Delete data n update data.

Select update data where one new record will be created n u will get an option to update all the record which u have filtered at once. Update that data management record by adding ur state n save it.

Scroll at the bottom there execute now related link will be present. Press it. All the data will be updated at once n u will also have an option to rollback if something goes wrong.

 

So this way without using any code u can update one or many record at a single time🙂

 

Thanks,

Danish

 

View solution in original post

2 REPLIES 2

Danish Bhairag2
Tera Sage
Tera Sage

Hi @SnowUserDev ,

 

U don't require any code to do this in this case. Just navigate to the approval table. Filter the records which u want it to be cancelled or not required whatever state u wish. Once u have the records in the list view right click on the column n select data management u will get two options.

Delete data n update data.

Select update data where one new record will be created n u will get an option to update all the record which u have filtered at once. Update that data management record by adding ur state n save it.

Scroll at the bottom there execute now related link will be present. Press it. All the data will be updated at once n u will also have an option to rollback if something goes wrong.

 

So this way without using any code u can update one or many record at a single time🙂

 

Thanks,

Danish

 

Thanks @Danish Bhairag2 

 

Learned something new