rhamzei Posted May 23, 2015 Share Posted May 23, 2015 (edited) HI all! I have a question which I could not handle it! I want to send a worker to do job in server 1, by finishing in server 1, it must go to server2 to do process and then go to server 3 and does its dut. then it must come back to server 1 and wait for starting new process ( worker transfers between servers while entity is moving forward). why it goes back to server1 before going directly to server3 ? for 2 servers, assigning the worker si so simple but for more than 2 servers needs more complicated logics. Please help me if you have any idea about it. model uploaded: https://www.facebook.com/download/372463152963464/WRKER%20REZA.spfx Edited May 24, 2015 by Guest Link to comment Share on other sites More sharing options...
dsturrock Posted May 23, 2015 Share Posted May 23, 2015 Worker returns to Server1 because a new entity has arrived at server1 and seized the worker before the first entity could get to server3 to seize it. There are actually some new features in the latest release (sprint 122) which make it easier to reserve a worker for later and prevent other objects from seizing it. From your description it sounds as though you only expected to have one entity processing at a time within the 3 servers. If that is true, then you must adjust your logic to make that so. Possibly use the OnEvent arrival model on source1 and only create a new entity each time one exits server3. Link to comment Share on other sites More sharing options...
rhamzei Posted May 24, 2015 Author Share Posted May 24, 2015 I solved this problem by myself.( I forgot to add to paths from source2 to server3 and from server3 to sink, please make changes and run it): http://dibadata.com/uploads/WORKER-%203%20servers-2%20sources.spfx Link to comment Share on other sites More sharing options...
Recommended Posts