Hello all,
I am trying to monitor the outlook performance in BPM using Vugen Script. The stand alone MAPI script works fine, but getting this error in MDRV log.
24/06/2014 07:21:28 Error: line 2 contains 2 columns instead of 1 [MsgId: MERR-13874] 24/06/2014 07:21:28 Error: Table 'C:\ProgramData\HP\BPM\workspace\Invocation\4\299_1\Email_ID_bsm.dat' cannot be opened. Error code is '-4'. [MsgId: MERR-13880] 24/06/2014 07:21:28 Warning: Extension parameng.dll reports error -4 on call to function ExtPerProcessInitialize [MsgId: MWAR-10485]
24/06/2014 07:21:28 Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread. [MsgId: MERR-10176]
The script is a simple MAPI protocol script to open outlook and send email. I am running BPM using user who is the outlook user. Also, changed the registry to avoid Outlook security pop ups.
Action()
{
lr_start_transaction("lr_outlook_Logon");
mapi_logon("Logon","ProfileName=MBL","ProfilePass=", LAST);
lr_end_transaction("lr_outlook_Logon", LR_AUTO);
lr_think_time(10);
lr_start_transaction("lr_Send_mail");
mapi_send_mail("SendMail","To={Email_ID}",
"Subject=Hello!!Testmail from Vugen sent at {CurrentDate}" ,
"Body=Message from Vugen!!!",
LAST);
lr_end_transaction("lr_Send_mail", LR_AUTO);
Please Help.Thanks!