If I have a flow with 10 steps , is it possible to to test run the flow for only the first 7 steps without deleting last 3 steps;
For example, I can do this in a javascript. How can I do the same in PA?
/*starting dataset*/
const data = [1,2,3,4,5];
/*mutate the same dataset by multiplying each element by 2*/
const stepOne = data.map((d,i,r)=>r[i]=d*2);
/*get rid of the last element from the mutated dataset*/
/*const stepTwo = data.splice(-1,1);*/
console.log(data); /*returns [2, 4, 6, 8, 10] since stepTwo is commented out, js execution happens till stepOne*/
console.log(data); /* if stepTwo was not commented out it would have returned [2, 4, 6, 8]*/
Thank you in advance