I have a view in which it is sorted by Date,Subject and Typeofform. When comes to Typeofform there are 2types “Deligate” and “Reply”.
the view be like below
Date
Subject
DeligateForm
CorrespondingReplyForm
CorrespondingReplyForm
DeligateForm
CorrespondingReplyForm
CorrespondingReplyForm
Date
Subject
DeligateForm
CorrespondingReplyForm
CorrespondingReplyForm
DeligateForm
CorrespondingReplyForm
CorrespondingReplyForm
-----------
-------------
Now the query is I select some documents in the above view and when I trigger that agent on those selected documents, that agent which should make deligateform status from “In Progress” to “Complete”, only when all the related correspondingReplyForm “SubStatus” becomes “DONE” and date is lessthan todaydate.
I used db.unproccesseddocuments but in that case I am not able to check for all these conditions. When I am using doc.responses in that case also as those r not response documents so no use.
Can U pls any body help me, how to call those documents in order to check all these conditons. Pls help me .
Thanks & Regards,
Hemalatha Tellapudi.