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:[email protected] ARSlist: "Where the Answers Are"