I tried to change worker quantity within workerpool during simulation running, but it did not work.
I found the workers were created at the begining of simulation, and after that I changed the quantity it did not have any effect. So anyone can tell me that is it possible to change worker quantity after simulation beginning?
Thanks in advance!
Solved! Go to Solution.
you can create a new worker at any point in time on your worker pool.
You can also create all workers you need and use the attribute 'AvailableForMediation' to manage which of them are used.
Thanks for your response, I still have questions on the workers:
1, If I use the create method, if I need less worker someday, Should I use 'delete' method to delete the surplus workers?
2, I can not find the attribute "AvailableForMediation" you metioned, my software version is 11TR2, Could you please tell me where can I find the attribute?
Best Regards & Thanks!
the attribute was added in V12. So it's not yet available in your version.
Your suggested solution to delete workers you don't need should work fine.
Another solution would be to set the attribute 'Pause' or 'Unplanned' to true when the worker should not be available.
Thanks a lot for your answer!
Now I set the workers 'Failed' to true when they are not needed and it works fine.