I have a situation whereby the work items move through a series of states according to certain distributions which I have modeled as activities with the correct distributions. However, within each of these states each work item undertakes another activity repeatedly every year which will either cause them to leave the system or carry on with their progression through the states. I am struggling with how to program this. Does anyone have any ideas?
I had set it up so that the work items leave the 'state activity' and go to the other activity and loop through every year, however the time they have spent in the state is then forgotten which is no good as they need to progress to the next state after the appropriate amount of time.
Any help would be much appreciated! Thank you in advance.