Add and remove revision from sheet in the same script

is there any possible way to complete this script i want to complete the script so that if i want to add/remove revision from sheet i would not have to run the script twice to add or delete revision cloud

i want for example create a boolean so that if i run the script add=true and remove=false for example

sounds like you need to wrap them with 2 transactions. transaction 1 starts β†’ addition β†’ transaction 1 ends β†’ transaction 2 starts β†’ removal β†’ transaction 2 ends.

i would try with a input boolean (for add or remove) and a list view [for sheets] from DS togheder with you dropdown, join them… and in the end use an if node for add or remove, guess Crumple have a node for add and remove as well with a bool for run, could work as well

Why not just use a list view with check marks and you just check the ones you want, and any others would be removed? We have a similar workflow.

2 Likes