question

Jason Merschat avatar image
0 Likes"
Jason Merschat asked Jason Merschat edited

Create Object In using Schedule

I am trying to use a Schedule to drive a model using PF where the the Create In will be derived from a label loaded in through the PF Schedule. I have tried several methods that would think would be intuitive to work given the methods used to directly reference an object and by the instructions in the user manual. Clearly I am missing something.

creatintestusingschedule.fsm

FlexSim 17.2.1
Choose One
create object
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Merschat avatar image
0 Likes"
Jason Merschat answered Jason Merschat edited

I think the answer may be to use model().find(token.lbl_Container) instead of model().find("token.lbl_Container"). Corrected model uploaded8488-8487-creatintestusingschedule-1.fsm


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Kari Payton avatar image
0 Likes"
Kari Payton answered Jason Merschat edited
@Jason Merschat

Not sure if I'm saying this right or if this is the optimal solution but you need to return a pointer, not just text, to the label.

So instead of putting Queue1 put model().find("Queue1"). 8487-creatintestusingschedule.fsm


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Merschat avatar image Jason Merschat commented ·

Hi Kari, We cannot change the schedule as you have for this example. I appreciate the response, but this is not an option. I need to emulate what that reference does by using model().find("lbl_Container") or model().find("token.lbl_Container") where the lbl_Container = Queue1 and is fed into the model by an external system through the PF Source, but it does not function as expected

0 Likes 0 ·