I am using the Reframework of version 2019.10.1 for one process, the whole process is working fine and I have not had any major problem. While doing tests with more elements in the queue I have noticed that the application where I run the process after the third transaction conflicts and blocks the entire ERP, in such a case that all the remaining transactions are shown with system exception errors.
I would like to add to the Reframework a condition that if the TransactionNumber Mod 2 = 0 the Reframework Terminate the process and return to the Init to continue with the next two transactions. Does anyone have any suggestions or help in this scenario?
At the end of the Process state in the workflow, set a variable Restart to if TransactionNumber Mod 2 = 0 using the If activity. You will need to create another transistion in addition to the three from the Process state where the process goes to Init if this variable Restart = True.
Lastly, end the Init state by setting Restart to False. This will prevent your process from infinitely looping.