i’m using REFramework without orchestrator queues and BOT provides to manage some orders inside an app via citrix. So the login process is open citrix–>open app1–>open app2
When i finish to manage all orders i need to attach citrix and re-open app1 to login in another instance of this apps and do the same work. That for 10 instances (or room is the same). The composition of app1 is the same for every instances, so i loop the instances in getTransaction Status and for each go to process state and process them.
My issue is about login, i’ve used max retry number via config state to 3, so in case of system error doesn’t increment the instance number of my app, kill all apps and retry login and process.
If i put my app1 login in INIT STATE i’m not be able to change instance, because in case of NO ERROR i won’t go back to INIT, so i put the app1 login in PROCESS STATE.
So, can i put all my login, citrix included, in PROCESS STATE? Is a good solution? So in case of retry close all apps and for the same instance repeat the login in PROCESS STATE or there are some inconvenient?
Thanks in advance