question

Kari Payton avatar image
0 Likes"
Kari Payton asked Dawid Dabal answered

How to return name of crane through Sub Flow.

I want to use the sub flow option to pick the transporter. I tried referencing a table that has the name of the crane pointer, but I get the error that is it an invalid index. See model for reference. I also tried typing the name of the crane directly into the return field on the "Finish" activity in the Sub Flow, but was unsuccessful.crane-pointer.fsm

FlexSim 17.1.2
sub flow
crane-pointer.fsm (21.2 KiB)
5 |100000

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

1 Answer

·
Dawid Dabal avatar image
0 Likes"
Dawid Dabal answered

Hi Kari,

This picklist option doesn't work the way you want it...

I wrote some code in "Use Transport" and it's referencing Crane correctly.:

string processflow = "SubFlow";
string startActivity = "Start";
string finishActivity = "Finish";
return executesubflow(processflow, current, startActivity, finishActivity);

You can find model attached.

7584-crane-pointer-dd.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.

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.