ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Dispatcher: Which TaskExecuter did the task?
Hi,
I would like to know which TaskExecuter did a task. In the following model, a TaskSequence is generated in the "use transport" field of a Queue. A dispatcher gets the TaskSequence and passes it to a TaskExecuter. I would like each FlowItem to carry a label saying which TaskExecuter did the task. Is there a way to know, which TaskExecuter did the task without adding an extra Queue with capacity 1 (and therefore making the second operator wait until the first FlowItem has left the Queue)? Thanks, Stefan |
#2
|
||||
|
||||
If I understood you right, this should be done by using:
addlabel(item,"CurrentOperator",tonum(current)); in the OnLoad Trigger of all Operators.
__________________
Hemmi |
The Following User Says Thank You to Sebastian Hemmann For This Useful Post: | ||
Stefan Trabut (04-05-2011) |
#3
|
||||
|
||||
If I understood you right, this should be done by using:
addlabel(item,"CurrentOperator",tonum(current)); in the OnLoad Trigger of all Operators.
__________________
Hemmi Last edited by Sebastian Hemmann; 04-05-2011 at 05:39 AM. Reason: Please delete this!!! |
Thread | Thread Starter | Forum | Replies | Last Post |
Dispatch task only on idle dispatcher waiting on a certain node | shafizad | Q&A | 12 | 02-03-2011 01:56 PM |
a question about taskexecuter | oliver xie | Q&A | 1 | 01-18-2011 03:19 AM |
How to transfer a flowitem from a taskexecuter-team to another taskexecuter-team? | Frans Zeng | Q&A | 12 | 05-20-2010 11:23 PM |
arrive was given a task sequence but is not a dispatcher | Brent Merryman | FlexSim HC: Q&A | 3 | 04-09-2010 08:34 AM |
TaskExecuter should unload more then one item...How? | TilmanDHL | Tips and Tricks | 1 | 01-28-2009 01:54 AM |