Hello,
I am trying to build a custom BFR and reuse it for my future models. I want it to be as general as I can, so that when I copy the process flow, or the BFR in other models I just change one or two references then it works.
The concept I am trying to build is as the following:
My BFR is a multiprocessor that allows multiple operators to work on different tasks at the same time. When a flow item shows up, all the operators connected to the dispatcher that belongs to this BFR will be called but they will start working on different tasks until all tasks are completed.
The reason I have two BFRs here is that I wanted to test how the logic will work with multiple BFRs, but my ultimate goal is to create one BFR with its own logic and save it.
I have a few questions about the model that I posted here, but let me start with one here for now.
1. Can different tokens acquire a resource from different resource lists (not at the same time)? The logic for BFR1 and BFR2 is exactly the same, however, If a token was created by BFR1, I want it to acquire resources from the BFR1 list. If the token was created by BF2, I want it to acquire resources from the BFR2 list. So, I want my "Resource Reference" to be a variable. I've been looking at token.item.current but it looks like this is not the right answer. I can maybe create a label on the token that stores information about the current object, then use it as a reference, but is there something already built in that I can use? The quantity will always be 1, so no need to make it a variable.