Hello,
I want to send message to "Que2" in the layout using Custom Task, but I don't know how to set the task to make it work. Could some one help me out?
Thank you in advance,
Hello,
I want to send message to "Que2" in the layout using Custom Task, but I don't know how to set the task to make it work. Could some one help me out?
Thank you in advance,
You're passing in the Processor for the Task Executer / Dispatcher field of the Create Task Sequence activity. That's what the error message in the system console is telling you:
time: 262.947546 exception: Error: Bad Task Executer reference in create task sequence activity "Create TS" in process flow "ProcessFlow"
You need to select a an object from the Task Executers category of the Library to send the task sequence to. With the way you're building your Task Sequence, you should click the remove button for the Task Executer / Dispatcher field on the Create TS activity, uncheck Wait Until Complete on the Custom Task activity, and then specify a task executer in the Task Executer / Dispatcher field of the Dispatch TS activity. If you do those steps the message will be sent once the task executer gets to the task sequence. I gave it to the Operator and it worked just fine.
I would recommend reading through the user manual with regard to the Task Sequence activities. There are multiple ways to use them. Messaging isn't used very often with Process Flow as it's often easier to keep all of your logic in Process Flow (in your case using a Custom Code to close and open ports) rather than have logic spread throughout the model.
Thank you for your reply. Yes, it worked perfectly now. I didn't know that I had to choose object from Task Executor for Task Executor in Create TS.
Yes, I agree with you that I should have defined all the logic in Process Flow. I wanted to study the possibility of mixing both as there are cases where some customer are not so fond of creating logic in ProcessFlow manner.
Thank you so much for your help.
17 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