question

G C avatar image
0 Likes"
G C asked Adrian Haws edited

process flow node reference

How do I reference a process flow activity node? Example below (opSMT_1):

FlexSim 16.1.0
process flownodesamplerreferencing
ewapv.png (21.9 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.

Phil BoBo avatar image
1 Like"
Phil BoBo answered Matt Long commented

You will get more robust ways of referencing the activity if you use the eye dropper on the activity in the ProcessFlow view instead of on the tree view.

You will get more relevant commands, such as getactivity() instead of node(). The eye dropper will also give you references based on the local variables within the trigger that you are using it from, such as another activity within that ProcessFlow.

· 2
5 |100000

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

G C avatar image G C commented ·

I should clarify, I needed the full path for the node such as:

node("Tools/ProcessFlow/Main Flows/ItemList1", model())
using the eyedropper in process flow view wasn't giving me what I needed.

0 Likes 0 ·
Matt Long avatar image Matt Long G C commented ·

node("Tools/ProcessFlow/Main Flows/ItemList1", model())

is equivalent to:

getactivity("Main Flows", "ItemList1")

2 Likes 2 ·
G C avatar image
0 Likes"
G C answered

Never mind, I used the eye dropper in model tree to get the node path.

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.