resource-capacity.jpgIn a process flow model, I have a resource. In the Count field I have an integer global variable. The variable default is 1, but the value is set higher immediately when the model starts (eg, 300). However getstat(<resource>,"ResourceAvailable",STAT_CURRENT ) continues to return 1, even after putting a few Delay(0) activities, until the time changes. In fact, when I graphed it on a dashboard, it stayed at one for a full 150 seconds (which is when it was called again.This is causing problems in some other calculations I am doing.
Is this a bug, and if not is there a way I can force it to update so my other calculations work correctly?