Change Status Of Child Item as per Parent Item RRS feed

  • Question

  • hi

    i have new requirement. i want to change child item status as per parent item in same list.

    below is example

    i have list A

    where there is 5 item






    b,c,d,e are child and a is parent. when status of a changed to closed. all child status should change to closed. how this will be done using workflow or event receiver.


    Tuesday, May 14, 2013 5:13 AM


  • Hi Rahul,

    1) In your List A, add new column "Parent" it should hold the id of the current items parent.

    2) You can create an event receiver for ItemUpdated and bind it to your list.

    3) In Event receiver, you can write code to retrieve all the items where the "Parent" column contains id of the current updated item, when the status is closed and then modify the items status to CLOSED.

    Tuesday, May 14, 2013 7:22 AM