Just thinking out loud here. If the resubmit used a windowless action to set a date field'date of last resubmit'. Then modify the condition to make sure that not only is the (latest/all) task rejected, but also the date of task completion is greater than the date of last resubmit.
interesting. so after the resubmit action have a date field on the main Change form for date of last submit then write the calculation on the condition to read that date and verify what has happened after that date? I'm assuming this would require a calculation?
Here is what I have. I want to loop through the Tasks to find the statuses then if the Status = Rejected and the lastest date is > the date I passed automatically I need a true returned. However, in testing I get this error:
"Field 'Touchpaper.Framework.Data.DataObjectListProxy.Status' not found."
static def GetAttributeValue(Change):
IsRejected = false
DateOfLastResubmit = Change._DateofLastResubmit
for Status in Change.Tasks.Status:
if Status.Title == "Request Rejected" and Change.Tasks.Latest().CreationDate > DateOfLastResubmit:
IsRejected = true