application MyRulePrj
module NewRule_Exception import MyRulePrj::MyRulePrj_rules;
rule MessageRule
activated by EVT_1 of BizLogic::W_SUSPENDED{PROCESSTEMPLATENAME : "MyRulePrj"}
{
println("********************"+ EVT_1.context.EXCEPTION);
}
|
sendMail("receiver@progress.com","sender@progress.com","Subject");
|
Hi Fernando,
At the time of installation of Openegde Business Process Server, you will get a option to configure email address along with email server details in one of the installation screen. This configuration enables to trigger emails along with the exception trace
when ever managed adapter step gets suspended. This works not only with adapter work steps, but also with the human work steps aswell.
In case, if user forgets to provide email address and server details at the time of installation, it can be configured by editing the emailer.ini and email related conf files in the <dlc>oebpm\server\conf directory path. Once this change is done, servers need
to be restarted.
Regards,
Jawahar.
Update from Progress Community
Fernando.Ferreira When an adapter get suspended, is it possible create a error condition? For get why the workstep is suspended, and send a e-mail with the condition thats generate the workstep suspended ?
You received this notification because you subscribed to the forum. To stop receiving updates from only this thread, go here.
Flag this post as spam/abuse.
Hi Jawahar,
Thank you !! I I receveid the message with error now ! :-)
Look the message:
Caused by: java.sql.SQLDataException: [oebpm][SQLServer JDBC Driver][SQLServer]String or binary data would be truncated
Is it possible create a rule / Workstep, that get this error to send a user that is not OpenEdge BPM administrator ?
Thanks,
Fernando
application MyRulePrj
module NewRule_Exception import MyRulePrj::MyRulePrj_rules;
rule MessageRule
activated by EVT_1 of BizLogic::W_SUSPENDED{PROCESSTEMPLATENAME : "MyRulePrj"}
{
println("********************"+ EVT_1.context.EXCEPTION);
}
|
sendMail("receiver@progress.com","sender@progress.com","Subject");
|