Hello,
I have a simplified model that I am working on. I am assigning stop logics to the AMR TaskExecuter 3 so that it goes to the nodes and waits there for a while. The source is activated based on a calendar.
The problem I am having is that when I make the loop after the Delay, the label in the first Acquire of DeliveryPoint is of type node... but when it acquires the next node, it converts it to an Array, and I have problems with the variable types to read the data.
Could an Array be created in the Acquire of DeliveryPoint Assign to Label? I don't see the option in the contextual menu.
I think this is the problem, but I'm not 100% sure.
I have also worked on the idea with a list. I want the loop to end when the available nodes are exhausted, to provide the output both in the pull activity and in the Acquire. But in the Resource method, I only return the last acquired one, not all of them in the array. In the list method, I get an error in the activity of moving to the sink... but not all of them are returned either. I can't push it when I've already used them because it wouldn't allow me to output when it has gone through all of them. I want to set up the loop to avoid having to repeat activities
Thank you in advance for your comments.