Making decision based on process flow (without considering 3D model)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am building the digital twin model on process flow chart which I upload here. I am taking the real time of the battery when the token is created, when the task start to be done and when the task finished.
I have a problem with my decision block, I want to make a decision when there are 3 items in the queue. So here I have the acquire, resource and release. So if 3 tokens are waiting for the acquiring the resource, it means that 3 items are in queue and waiting for the resource.
As I mentioned I have a problem in my decision, I want to make a conditional decision like if 3 tokens are waiting in the acquire, go to 1, otherwise go to other branch which is 2.
I know that I can make a decision according to 3D model (Model.find("Queue1").subnodes.length>=5), but as my 3D model is not synchronized with process flow, so I want to make a decision according to the process flow chart.
Thank you for your help