Implementation Of Error Control In A Workflow
It’s well known that a workflow requires an error control for a robust process design. The next diagram shows an overview of the proposed error control.
As it’s shown, an error control provided a consistent tool , not only to provide a log but also to inform user about a problem in real-time by mail.
The following section contains the minimum settings required :
- Step: Write to log
Using the Business Service EAI File Transport (Method: Send), it’s created a log which includes parameters in order to analyze any trouble detected.
| Argumento | Tipo | Valor |
In/Out |
| <Value> | Expression | “Step which an error is detected: “+[&Step]+ “Variables: “+[&Error Code] +[…] |
In |
| AppendToFile | Literal | true |
In |
| FileName | Expression | [&Dir]+”\ErrorWorkflow_N”+ tochar(today(),”DDMMYY”)+”.log” |
In |
- Step: Send a Mail
This step send a mail to specific list detailed, using method “SendMessage” from BS “Outbound Communications Manager”.
| Argumento de entrada | Tipo | Valor |
| CommProfile | Literal | User |
| MsgHTMLBody | Expression | (expression detailed below ) |
| MsgSubject | Literal | Wfw Example failed |
| MsgToList | Literal | mail@address.x |
| ProcessMode | Literal | Remote |
Where MsgHTMLBody also includes parameters that permit an end-user to detect any trouble:
<p>
<b><font SIZE=4 FACE=ARIAL color=#000000>Workflow Execution Error </font></b><BR>
<BR>
<TABLE>
<TR>
<TD><B>Step :</B></TD>
<TD>”+[&Step]+”</TD>
<TD><B>Error :</B></TD>
<TD>”+[&Error]+”</TD>
</TR>
</TABLE>
<BR>
</p>
Discussion is on, Please share your views.
Related posts:
- End Step and Stop Step in Workflow
- Automatation of Actuate Synchronization for New Siebel Users
- Using Batch Workflow Policies For Sending Consolidated Emails
- Siebel WorkFlow process : Asynchronous and synchronous mode
- Decode Siebel Error Codes
- Steps of CRM Software Implementation

















(1 votes, average: 5.00 out of 5)
Guys have you implement this? Please share your feedback.
Not only I implemented this one but also works
I have also implement this. Its awesome. I just want readers to implement this and share response.
I think the idea is great. But we have done a similar thing, but put it in a error workflow, which we just add to the “Error Workflow” column on tools. That also works great.
Jone can you please explain. This will help our readers.
Hi Joan,
1. Cant we send the Log file generated in step "Write To Log
' while sending the email?
2. Also we are writing the error message into a file. Wouldn't it be better if we write the log mesaage in some Business Component so that any user can easiliy refer them when they want?
Hi,
I need to log an error if the email could not be delivered (say if the email address is wrong). Will the outbound communications Manager business service handle that?
Is there any other way to achieve this functionality.
Regards,
Prasanna
Hi Prasan,
Once an email is send, I think that we couldn't determinate if the email address is wrong…
let me say that for a client we elaborated an script in order to validate the address, including items such as containing "@" or "."
Leave your response!
Our Stats
hit counter
Author Spotlight
Joan Martí Peraire
Website: http://www.siebeloracle.com/Join us in Facebook !!!!
Donate
If you find this blog useful to you, please consider making a small donation to help contribute to further development. Thanks for your kind support!
Hosted By
SIEBEL BOOKSHELF
Advertise With Us
Place your advertisement anywhere in the website.
[Nominal Rates/Genuine readers]
For details reach us at contact@siebeloracle.com
Training Partner
Advertisement
Advertisement
Recent Comments
Most Commented
Most Viewed
Log in | Entries (RSS) | Comments (RSS) | © Copyrights Siebel Expert Panel 2007-2011
Disclaimer: All information is offered in good faith and in the hope that it may be of use, but is not guaranteed to be correct, up to date or suitable for any particular purpose. Siebel Experts accepts no liability in respect of this information or its use. Siebel Experts is an India based website which is governed by Indian law. By using this website you are agreeing to abide by Indian law. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content.Product and company names mentioned in this website may be the trademarks of their respective owners.