Hello everyone !
I am building a custom Source with a Process Flow.
Once the source is creating flowitems I would like to be able to get out of the creation loop of the source as soon as it is down to add a dynamic cooldown time and erase the next "Release item" as I do not want it to be released later. I've looked into sub flows but as we cannot destroy tokens without moving them to a sink, I do not know how to proceed. I cannot move the token as it is always stuck in "Release Item" activity (see image below). And apparently there is no command to destroy a token, just moving them to sink or finish activities.
Would you have any recomendation to achieve this behavior in the process flow ?
Best regards,