Passthrough Clockwork order of operations

Hi All.

Does anyone any idea what I could do so passthrough work as expected?

I have checked the list of elements and I can see the script apparently deletes them but they are actually in the browser. That means they were not deleted properly.
In the example, I have a list of 9 family types they should be delete and later I should be able to create new types duplicating from “NW_to Spaces Schedule_v00” but that it is not working. In fact, I have to apply the process twice so it works properly.

When I try this piece of the script alone it works perfectly. So something related to passthrough and probably the way Dynamo keep the information is what is making the script do not work properly.

I have tried Wait and passthrough from Bakery package. I set 6 seconds and it did not work.

I added transaction end after Archilab delete node and it did not work neither.

I tried to apply another delete node with passthrough after Archilab delete node and it did not work neither.

image

Thank you in advance.