Debra,

I have this type of thing all the time..what I do is have a 'updateFrom'
flag on both forms.  If the update is coming from the Child guide, have the
push include the from field.  Then exclude updates coming from the child
form in your parent form guide run-if.this will prevent the parent from
firing when you don't want it to, and you do the same on the parent->child
call to prevent the child from trying to update the parent.

 

From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Anderson Debra (PRN)
Sent: Monday, May 23, 2011 12:07 PM
To: arslist@ARSLIST.ORG
Subject: Issues with Filter processing infinite looping - Please help!

 

** 

Hi Everyone,

 

I have been asked to implement a feature that has me stumped and wanted to
see what others might do to implement the following workflow

 

1)     Parent form has a status field and can have many child records

2)    Child form also has a status field with similar options

 

Part 1 - User wants to have child records' status updated if Parent is set
to a certain status value.  Since there are a couple intermediate tests to
perform on this I implemented it using Filter that calls a Filter Guide.

 

Part 2 - User wants Parent status updated if all the child records have been
updated to a certain status value - so if the last child record is updated
to status value then the parent should be updated.  Again implemented via
Filter that calls filter guide.  Here is where there are problems if this
workflow fires and updates the parent record the workflow for part 1 will
fire and the loop begins.

 

I tried to use the value of the $GUIDE$ property to prevent the loop but no
success.  

 

Any suggestions?

 

Thanks

Debra

 

Debra Anderson
T  415.808.9118   |   F  415.808.3535   
600 Harrison St .   San Francisco, CA   .   94107

PRN | media where & when it matters

This e-mail (including any attachments) is meant for only the intended
recipient of the transmission, and may include confidential information. If
you are not the intended recipient or you received this e-mail in error, any
review, use, dissemination, distribution, or copying of this e-mail is
strictly prohibited.  If you have received this message in error, please
notify the sender immediately by telephone at (415) 808-3500 or by return
e-mail and delete this e-mail, along with any attachments and copies, from
your system.  Thank you.

_attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to