otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Workflow Configuring Workflow components - including Agents, Milestones, Notifications Auto Data Assignment and Events.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 18th, 2008, 16:12
Member
 
Join Date: Jul 2007
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
JayVal is on a distinguished road
Error Handling in Agents

Hi :

In the Agent exception handler , is there anyway we can grab the Error message thrown by the system ?

I am looking something like a pre-defined variable or object we can use to getting the details of the error ?

Thanks for your help and as always it has been great to be part of this group.
-Jay
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old September 18th, 2008, 16:40
Junior Member
 
Join Date: May 2007
Posts: 19
Thanks: 1
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
miks is on a distinguished road
Re: Error Handling in Agents

In the agent error handler, setup a notify contact, by EMAIL.
OTM will send you the entire error message.

Cheers,

- Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old September 19th, 2008, 02:41
Member
 
Join Date: Dec 2007
Posts: 66
Thanks: 5
Thanked 10 Times in 10 Posts
Groans: 1
Groaned at 1 Time in 1 Post
Rep Power: 2
james_foran is on a distinguished road
Re: Error Handling in Agents

Hi Jay,

We use the Notify contact, however, rather than email, we use Message Center. THis writes the message into the PROBLEM database table, which you can then report on an analyse.

We created our own Stylesheet Profile also, which was based on the SHIPMENT_EVENT_BY_FAX style template, as this is plain text, and much easier to report on.

Sending these messages to the Message Center also ensures that everyone has visibility to the error, rather than just the mail recipient.
__________________
James Foran
Toll Solutions
http://www.tollgroup.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old September 19th, 2008, 09:46
Member
 
Join Date: Mar 2007
Location: Bedfordshire England
Posts: 58
Thanks: 3
Thanked 10 Times in 9 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
cunninghamg is on a distinguished road
Send a message via AIM to cunninghamg Send a message via MSN to cunninghamg Send a message via Skype™ to cunninghamg
Re: Error Handling in Agents

Jay

One way you can simulate knowing when an agent fails and handling it - is as follows:

At the beginning of the agent initialise a variable with the value 1

Then at various stages during the course of the agent increment the variable value.

When the agent fails - test for the variable value in the Error Handler and then take what ever actions are necessary.

There is no way that I know of to understand the actual Error and Handle it within the agent.

Gary
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging changes to Agents and Workflow jodonnell Security 0 June 11th, 2008 14:56
Agents-refnumber From Order Release To Shipment krishna.kk Planning 3 January 21st, 2008 23:55
OTM 4.5 not handling Non Ascii Characters sloppypoet Integration and Data Mapping 3 July 23rd, 2007 20:57



All times are GMT. The time now is 18:50.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37