Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 19.0.0 ]
I would like to add an OnEntry trigger to a Queue using FlexScript. After the trigger is created, I would then know how to add code to the trigger (finding the node, then adding the code as string)
My current approach is to access the Queue node then add a blank node. Is there a better way to approach this?
treenode queue_node = model.find("Queue1");
treenode triggernode = queue_node.find(">variables).add();
triggernode.name = "entrytrigger";
Solved! Go to Solution.