Hi Team, I have to assign the tickets based on the round robin method not only for the single run for the entire run in a day. Like it should assign from the last assignment in previous run. Can anyone please help?
1st Run : got 5 Tickets - @10AM
s2
G
s2
G
s2
2nd Run : got 3 Tickets @1PM
G
s2
G
3rd run : got 1 ticket @5PM
s2
4th Run : got 1 ticket @6:30PM
G
You can use an asset to store the who the ticket was last assigned to at the end of the each run.
And in subsequent runs retrieve this asset at the starting and based on the asset value start assigning to the next one in the round robin list.
You could use another asset or a config variable to store your round robin sequence [s2,G].
Example:
At the end of first run: store S2 to the asset.
For the second run: retrieve the asset → value is s2, so assign to g and then s2 …
at the end save G to the asset.
For the third run: retrieve the asset → value is G, assign to S2.
Save s2.