Postponing queue items and and starting where it left off

Hi everyone,

I’m looking into a way of postponing an item and then when the item is re-consumed, to start where i left off. As far as i can see there is no pre-defined way of doing this.

Since it is only one place in my code I need to do this check, I was considering to have a variable in the queue item with that specific flag and split my code into more or less two, so the first part is not run if this flag is there, and just skips directly to the second part.

What do you guys think of this, am I missing a clever UiPath activity or anything?

Thanks in advance