This 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.
An example of transferring a flowitem from one taskexecuter to another using a coordinated tasksequence. Model has does not depend on external files (i.e. media), and may therefore be unzipped anywhere.
This model is quite interesting and I learned the concept of synchronized task from the model. It is simply waiting for one or more synchronized tasks finished before doing the next one in the coordinated task sequence. By the way, all the code is located at Conveyor3's Request Transport From field.
One question is on deallocating task. My understanding is that by deallocating a TE, it becomes free again. However, in the model, the ASRSvehicle4 is deallocated right after it transfers the item to ASRSvehicle5. However, it will not be assigned to the next loading task until ASRSvehicle5 finishes FR_UNLOAD at Conveyor6. Ideally, ASRSvehicle5 should travel back to Conveyor3 right after it transfers the time to ASRSvehicle5. I guess the reason is that the line "int synckey4 = insertproxytask(ts, rail2key, TASKTYPE_LOAD, item, rail1, 0);" is used and Conveyor3 does not allow to send the next item until the FRUNOAD is used.