I have a complex situation that I was wondering if you guys have an idea on how to do:
I have 2 lists, the parent list (CRDB) and child list(ReleaseDB). The parent list can have one or many child. There is a option field on Child called ReleaseStatus which can be set by user as “In-Progress”, “On-Hold”, “Ready to Release”. Also I have option field on Parent list called CRStatus which can be also set by user as “In-Progress”, “On-Hold”, “Ready to Release”.
Now So let says parent A have 3 child record and in that suppose user is updating all 3 child ReleaseStatus as “Ready to Release” then update parent CRStatus as “Ready to Release” else do nothing..if say any ReleaseStatus is not Ready to Release then do nothing.
Parent parentStatus Child ChildStatus.
A X Ready to Release Ready to Release Y Ready to Release
Z Ready to Release
B X Ready to Release No Update Y In-Progress
Z Ready to Release
So in the above example during update of child status as "Ready to Release" tehn check for all child record status is also "Ready to Release" and then update CR-Status as "Ready to Release"
Pls let me know whether this is possible in workflow. Also I m little new to event receiver. So it would be great if you could send me working code so I can try in my machine. Hopefully this explaination of my problem is clear enough. Please let me know if you need any clarification, all help are appreciated, thanks!