Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
powerplay

Avatar / Picture

Senior Member
Registered:
Posts: 77
Reply with quote  #1 
Hi All,

This is something from the ASP.NET background.
We can have settings in Web.config for CustomError.
If any runtime exception occured in the application, we can show a Custom Error page to the user.

Can this be achieved In metastorm?

Also, We can write our own code in GLOBAL.asax file for handling the exception.
Can we do this in metastorm as well, modifying Global.asax to write a code for Error Logging.

Your thoughts has always been helpful...



__________________
Thanks
HB
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #2 
For 'expected' errors you can tell the user with ProcessContext.UserError. The rest I am not sure about, sorry.

__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
BRD

Avatar / Picture

Member
Registered:
Posts: 30
Reply with quote  #3 
Powerplay, What custom error messages would you like? Can you give an example for us please?

It is possible to have your own using IIS. Please do note that if you wish to log error messages then this would be done in the global.asax file.

There are a couple of errors which this isn't suitable for - I was reading an article on this yesterday, I think it's for 500 errors. You may wish to look further into this to confirm.





__________________
http://www.brdee.com/metastorm

https://twitter.com/BRDltd
0
powerplay

Avatar / Picture

Senior Member
Registered:
Posts: 77
Reply with quote  #4 
Thanks BRD,

We need to log any kind of runtime exception/error generated during folder processing. 

So thought that, can we have a sniplet of code writen in GLOBAL.ASAX file to log the error in some file or database.?

Also if the error occurs, if we can navigate user to display some Generic error page showing information like "System is facing some issue. Please retry after some time". In .Net we can have CustomErrors in web.config to navigate to the error page. Can we have the same in Metastorm..?

I am not trying that as I am worried if that can disturbed the current env setup. If I get a chance I'll definately try it.



__________________
Thanks
HB
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!