create connection btw CP and queue by flexscipt

create connection btw CP and queue by flexscipt

kyle_y
Not applicable
499 Views
4 Replies
Message 1 of 5

create connection btw CP and queue by flexscipt

kyle_y
Not applicable

[ FlexSim 19.0.0 ]

how to create connection btw CP and a queue by flexscript? Thank you.

0 Likes
Accepted solutions (1)
500 Views
4 Replies
Replies (4)
Message 2 of 5

_1138272015
Not applicable
Accepted solution

connection CP and a TaskExecuter

function_s(cp,"addConnection",-1,TaskExecuter)

connection CP and a queue

contextdragconnection(Model.find("Queue1"),Model.find("ControlPoint3"),"A")

Message 3 of 5

kyle_y
Not applicable

Thank you John. is it possible to delete the connection by flexscript? thank you

0 Likes
Message 4 of 5

_1138272015
Not applicable

contextdragconnection(Model.find("Queue1"),Model.find("ControlPoint3"),"Q")

Message 5 of 5

kyle_y
Not applicable

haha, thank you!