Hello!
I was wondering how to check the status of all members in a group, so I can send the item to a different port if all are busy. For example:
- Object item = param(1);
- Object current = ownerobject(c);
- /**Conditional Port*/
- treenode stations = Model.find("Tools/Groups/SB_Group");
- if (stations.stats.state().value == STATE_BUSY)
- {
- return 2;
- }
- else
- {
- return 1;
- }
Thanks for the help!