Rules, stopping on error or when user canceled email

A

Artje

Fist, I would like to make my apologies for my terrible English. I hope
that you can understand all the stuff I wrote below.

I have created a sleek InfoPath form that makes it possible for all the
employees to record there overtime. At the end of each week an employee
can send their overtime form to his or her project manager who can give
their approval for the recorded overtime. If the project manager gives
approval the form is send to a special department that updates the
company's database and assures that the employee get paid for the
overtime. If the project manager rejects the overtime, the form is send
back to the employee.


This kind of simple workflow works fine and is created using many rules
and there related actions. The problem lies in the actions. One of the
actions for example is EmailFormToProjectManager. This action shows a
popup that asks the employee if she really want to send the email to
the project manager. Some say this is a security feature, I'm sure it
is, buts it's kind of annoying. If the user presses the cancel button
you expect that all the other actions are canceled but this is not the
case!


Does anyone know a solution for this problem? I would brighten my day!
I want to be sure that the email is send to the project manager. And if
not, all the other actions should be skipped.
 
G

Greg Collins [InfoPath MVP]

This, unfortunately, is the way it works--unless you use code to submit the email. Using code you can use try/catch blocks and prevent such error messages from appearing. This also give you much finer control over the whole email submit process.

I personally would recommend against using the default email submit because of this error and other reasons.
 
A

Artje

Dear Greg, thanks for your answer (also on google groups). What do you mean
by code to submit the email? Do you mean the relative limited coding options
in Infopath, or the intergration with Office Tools for Visual Studio? Hope to
hear from you soon!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top