Error handlers fire on ANY error condition, be it system or human.  If you
however generate an error handler for a user error, and don't display the
error, your handler filter needs to do whatever to correct the problem
because if you don't throw an error at the end of it then the transaction
gets committed to the DB.

  _____  

From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Guillaume Rheault
Sent: Monday, June 15, 2009 2:53 PM
To: arslist@ARSLIST.ORG
Subject: Re: Exit Guide Problem


** 

good question. I have not tested the error handling filters with a user
generated error message, only with system error messages, but it should
work.... give it shot. The error handling feature kicks in when the filter
encounters an error. The documentation is not clear about whether it is a
system error or a "user" error, so the only way to find out is testing it...

Guillaume

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

Would that work even with user-generated error messages, since I'm not
trying to trap a system error?  In this case, I've defined an error
condition and am checking for it and then trying to raise that error to the
user in a friendly way while stopping further processing.  I know I can
display a Message of type Error, but that is what I'm trying to avoid.  If I
"display" a Message of type Error and then define an error handler, will it
keep that message from popping up?

Thanks,
Lyle

From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Guillaume Rheault
Sent: Monday, June 15, 2009 2:39 PM
To: arslist@ARSLIST.ORG
Subject: Re: Exit Guide Problem

**

With the 7.1 error handling feature you could trap the OOB error message and
display your own user friendly error message. You'd use the $ERRNO$, ERRMSG$
and/or the $ERRAPPENDMSG$ keywords in the qualification of the error
handling filter

Guillaume


-----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"_

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

Reply via email to