That's essentially what I'm doing.  The only difference is that the last AL 
displays a dialog and then does the Exit All Guides.  I tried changing it so 
that the exit all guides was in its own active link, but that doesn't appear to 
have made a difference.  I also tried disabling the AL that displays the dialog 
(just in case that was introducing some other dynamic that might change the 
behavior), and that also didn't change anything.

Lyle

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Hum, Edward
Sent: Monday, June 15, 2009 4:56 PM
To: arslist@ARSLIST.ORG
Subject: Re: Exit Guide Problem

What I have done in the past to do a complete guide exit within nested
guides is when your conditions are satisfied (or not, depending on your
code), I do a GOTO label action, such as "EXIT", there is only one active
link after that label and that does the Exit all guides action.

Start
        AL1
        AL2
        AL3
Exit
        AL (Exit all guides)


Edward Hum
ITIL V3 Foundation Certified
BMC Software Certified Consultant ITSM 7.x - IM/PM/AMD
Phone:  +01-905-231-1631  Email:  hum.edw...@gmail.com
http://www.linkedin.com/in/edwardhum

-----Original Message-----
From: Action Request System discussion list(ARSList) on behalf of Lyle
Taylor
Sent: Mon 06/15/09 3:31 PM
To: arslist@ARSLIST.ORG
Subject: Exit Guide Problem

Hi all,

ARS 7.1

I'm having what I think is an issue with some Active Link Guides and an
Exit Guide action that isn't working the way I was expecting.  The short
of it is that I was trying to provide a more user friendly experience by
displaying a custom dialog for errors encountered during data validation
rather than popping up an OOB Error Message.  The workflow is written so
that if an error doesn't occur (i.e., workflow processing actually makes
it to that point), then it assumes that everything's OK and does the
rest of the actions.  The problem I'm having is that I'm calling a
couple guides from within another.  In one of the nested guides, I have
an Exist Guide action with "Exit All Guides" checked.  My understanding
of this was that at this point, all the guides in the "stack" would stop
processing at that point.  This doesn't appear to be happening, however.
The two inner guides appear to stop at that point, but not the outer
one.

What I've got is something like this:

ALG - Submit Record
                AL - Save Record
                AL - Disable Submit Button
                AL - Display Successful Submission Message

The Save Record AL simply calls another Active Link Guide:

ALG - Save Record
                AL - Check Required Fields
                AL - Push record to base form

The Check Required Fields AL calls yet another Guide:

ALG - Check Required Fields
                AL - Check Field 1
                AL - Check Field 2
                AL - Exit Guide (if none of the Check field actions
encountered any issues, then this guide only will get exited)
                Label: Required Field Missing
                AL - Display Message Dialog with Error Info

All the Check Field active links simply set the error message and then
go to the label.    The "Display Message Dialog with Error Info" opens
the dialog with the error message and then has an Exit Guide action with
Exit All Guides selected.  This should cause it to exit the Save Record
guide before saving the record as well as the Submit Record guide before
disabling the button and displaying the success message.  The problem
is, it is only working part of the way.  The record doesn't get saved,
so it does appear to be exiting the Save Record guide properly.
However, it still runs the rest of the Submit Record guide.

Any ideas why it might be behaving this way?

Thanks,
Lyle Taylor


 NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.



________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers
Are"
_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers
Are"_

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers
Are"

_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers
Are"_

_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers
Are"_ 

_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers
Are"_ 

_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers
Are"_ 

_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers
Are"_ 
_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers
Are"_ 

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.71/2178 - Release Date: 06/15/09
17:54:00

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"


 NOTICE: This email message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"

Reply via email to