Can you help me in writing logic :
I have 3 batches say - 001,002,003. If the batch is selected for the first time when I run the automation it has the right to write but if it is selected for the second time it has the right to review it when I run the automation for second time.
Example :
1 st time selected - 001 (write access )
2nd time selected - 001 (review access )
3rd time selected - 002 (write access )
4th time selected - 003 (wite access)
For any batch, the 1st time selected is write access and for the same batch if I select for 5 time it should only review.