In the attached file, I have identified as a string the name of a receptionist I want to use in a keepresource command. How do I do this?
Thanks,
Tee
In the attached file, I have identified as a string the name of a receptionist I want to use in a keepresource command. How do I do this?
Thanks,
Tee
keepresource() wants to see an Node reference as it's first parameter so you just need to turn the name into an Node by using the node() command and use that as the first parameter:
keepresource(node(RepName, model()), patient);
You could also use the executestring command since there's a global variable with the same name as every resource:
keepresource(executestring(RepName), patient);
8 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved