I have a bit of a calculating dilemma.
I have a scenario where I need to be able to check the MOST RECENT tasks to see if the status is a certain thing. I know it has to be done with a while loop, but I haven't been able to nail anything down.
In Change I have a precondition that checks to see if a task was rejected. If it was, then it automatically cancels the remaining open tasks and sends the request back to the RU to update. When the RU resubmits, it sends approval tasks out again. Well, the current issue is that my precondition still sees there were rejected items in the collection and rejects it again.. bad loop.
I need to have a calc that can only check the most recent set of tasks to see if they are rejected or not. Any thoughts or need more details?