Error - Destroy Object (Process Flow)

Error - Destroy Object (Process Flow)

gilana_p
Not applicable
235 Views
2 Replies
Message 1 of 3

Error - Destroy Object (Process Flow)

gilana_p
Not applicable

[ FlexSim 19.1.2 ]

Helo!


I need to clean the contents of the processor. In another activity I will create the same items that will be destroyed, but at the end of this activity demo_destoyObject.fsm I need it to be empty.

If I use destroy Object when the robot unloads the item in the processor I get an error.

0 Likes
Accepted solutions (1)
236 Views
2 Replies
Replies (2)
Message 2 of 3

eric_m3
Not applicable
Accepted solution

Hi @Gilana P, you can use a "destroy object" activity after a "wait for event" activity that listens for when the processor is done processing. I made two process flows, in Option1, the processor destroys each object when it's done processing. In Option2, the items are destroyed at the same time using the "batch" activity.

demo-destoyobject-em.fsm

0 Likes
Message 3 of 3

bruna_a
Not applicable

Hi @Gilana P,

You can do something similar Eric's suggestion.

You can use the "Event Triggered Source" activity to identify when the processor is done processing and "destroy object" activity to destroy each box after processing.
40335-1623251964603.png
demo-destoyobject_v02.fsm