question

Tam P avatar image
0 Likes"
Tam P asked Tam P commented

Code for tutorial seems right but its not working

proflowcinqtutprtdeux.fsmI am getting this error message

time: 4.192457 exception: FlexScript exception: label rollObjectCopy doesn't exist on token id: 18 at MODEL:/Tools/ProcessFlow/Sticker Roll Logic/Change Visual: Resize Roll>variables/codeNode

I went to the Model tree to see what is wrong but nothing looks wrong. Process Flow Tutorial. Section 4.4 Steps 6 and 7. I am also confused about Step 5 about the List.

FlexSim 18.1.1
tutorial flexsim
5 |100000

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

Isaac Litster avatar image
0 Likes"
Isaac Litster answered Tam P commented

Hi @Tam P

It looks like you used a global list rather than an internal list in your Sticker Roll Logic Process Flow. I also noticed that the Push to List: Sticker Rolls in Use and Pull from List: Sticker Rolls were pushing and pulling from the List: Rolls in Storage rather than the List: Sticker rolls in Use.

Let me know if you have any more questions. I have attached the fixed model below in version 18.1.

sticker-roll-logic-model-fix.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.

Tam P avatar image Tam P commented ·

Thank you. I fixed it. Thanks again for the support.

1 Like 1 ·
Joshua S avatar image
0 Likes"
Joshua S answered Tam P commented

For some reason the connector was routing to Change Visual before going through Assign Labels, visually everything looked right, don't know why it was doing that. Just move the connection point to the top of the activity as shown in the picture below.

Step 5 is about how you can add label fields to lists. These Label fields grab the label on the items in the list, and if it has a label with the same name as the Label Field, it will save it so you can use it as a query when you pull from the list.


pic1.png (40.3 KiB)
· 3
5 |100000

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

Tam P avatar image Tam P commented ·

nuairor.jpgproflowcinqtutprtdeux.fsmI got a new error. It says An invalid task has been encountered. Object Roll Operator Task Number 1 Task Type Load Involved 1 -- Involved 2 NULL I do not know what this is.

0 Likes 0 ·
nuairor.jpg (26.7 KiB)
Tam P avatar image Tam P commented ·

I am looking at the model tree under RollOperator-variables-loadtime- and I do not know what specifically i am looking for in the code but it looks to be visually not missing any information

0 Likes 0 ·
Tam P avatar image Tam P commented ·

I cant get this model to work. I dont know what i did wrong.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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