Scheduling Jobs with email notifications.
Hi,
Using the information which i got from internet i created procedure and also below job to run on server.
Procedure name : refresh_tapas_rs
BEGIN
DBMS_SCHEDULER.create_job (
job_name => 'TAPAS_REFRESH',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN refresh_tapas_rs; END;',
start_date => '24-APR-13 11.40.00AM',
repeat_interval => NULL,
--'freq=hourly; byminute=0; bysecond=0;',
end_date => NULL,
enabled => TRUE,
comments => 'Job defined entirely by the CREATE JOB procedure.');
END;
It's working fine.
i wanted to add few more things into this.
1. this should run - every Sunday morning 10 AM.
2. once this is completed my manager should get email with status immediately.
please help me to add this functionality.
995263 wrote:
Hi,
Using the information which i got from internet i created procedure and also below job to run on server.
Procedure name : refresh_tapas_rs
BEGIN
DBMS_SCHEDULER.create_job (
job_name => 'TAPAS_REFRESH',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN refresh_tapas_rs; END;',
start_date => '24-APR-13 11.40.00AM',
repeat_interval => NULL,
--'freq=hourly; byminute=0; bysecond=0;',
end_date => NULL,
enabled => TRUE,
comments => 'Job defined entirely by the CREATE JOB procedure.');
END;
It's working fine.
i wanted to add few more things into this.
1. this should run - every Sunday morning 10 AM.
2. once this is completed my manager should get email with status immediately.
please help me to add this functionality.I believe below should help you:
BEGIN
DBMS_SCHEDULER.create_job (
job_name => 'TAPAS_REFRESH',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN refresh_tapas_rs; END;',
start_date => '24-APR-13 11.40.00AM',
repeat_interval => 'freq=weekly; byday=sun; byhour=10; byminute=0; bysecond=0;',
end_date => NULL,
enabled => TRUE,
comments => 'Job defined entirely by the CREATE JOB procedure.');
send_email (relevant_parameters); --> You need to have this procedure, to Send mails, in your database. You can get many ready to use samples online.
END;
/
Similar Messages
-
Schedule a job with email destination in BOXI R2 with email format as html
Hello Guys, would it to possible to schedule a job with email destination in BOXI R2 with email format as html? we are able to get it running with plain text email format. we use Java SDK to interface with BO Enterprise servers.
thanks for your thoughts,
VenkatHi
your job should SMOF_DOWNLOAD can bring new material master if you set up correctly.
as a smart method smof_download is the best way.
doble check your filter condition. it should work as you expected. because we dont involve in manual pulling...
check your variant once again. in vari table,
can you check r3ac1 - filter settings- source seetingsa--> source site nmae --> backendlogical system and filter sync..
br
Muthu -
We have been having some issues with Email Notifications not going out and getting hung up in SOST. Can anyone please tell me whether we can use SAP Solution Manager to monitor outbound email?
What version of Solman are you using ? Check in t-code Rz20 >ccms monitor template of satelliate system , there would be option to monitor your outbound mails .You can sutomise your monitorig metrics in solman 7.1 else in 7.01 you use auto reaction methods to monitor .
Regards
Jay -
Anyone having issue with email notification delay in ES4?
After upgrade from ES2 to ES4, we're experiencing an email notification delay when a task is assigned to an individual or group queue. It's not consistent, but happen enough that we can some what replicate it. It's almost like an email notification from task assignment wouldn't send through until we kick off another process or claim another task. This happens with server default email notification as well as custom email notification. Please advise how I can go about trouble shooting this.
This is what in the log at the time I ran the test process & email notification delay occured. Again, the email notification delay wasn't the issue when we were in ES2, until we upgraded to ES4 recently. The delay happens spontaneously, no specific pattern. Sometimes it'll arrive instantly and sometimes it will delay. However, when the notification delay occur, if I kick off another new process, the notification will come through.
[1/21/15 10:27:47:442 CST] 00000031 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [LiveCycleES4] [/adminui] [/secured/about.jsp]: Initialization successful.
[1/21/15 10:28:03:107 CST] 00000040 CSRFFilter I Fetched allowed referer list for servlet:/CoreSystemConfigComponent
[1/21/15 10:28:03:200 CST] 00000040 Reference I org.apache.xml.security.signature.Reference verify Verification successful for URI "#bed5ed34fb984a88466db43f9ab1cef8"
[1/21/15 10:28:03:684 CST] 00000040 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [LiveCycleES4] [/CoreSystemConfigComponent] [/secured/welcome.jsp]: Initialization successful.
[1/21/15 10:28:03:746 CST] 00000040 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [LiveCycleES4] [/CoreSystemConfigComponent] [FilterProxyServlet]: Initialization successful.
[1/21/15 10:28:06:680 CST] 00000040 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [LiveCycleES4] [/CoreSystemConfigComponent] [/secured/config.jsp]: Initialization successful.
[1/21/15 10:28:30:972 CST] 00000031 Reference I org.apache.xml.security.signature.Reference verify Verification successful for URI "#a8bc74a810dee608d866cdf3d19861ab"
[1/21/15 10:28:30:988 CST] 00000031 Reference I org.apache.xml.security.signature.Reference verify Verification successful for URI "#e83cca4f938a1d9f21e821a8c3663008"
[1/21/15 10:29:46:283 CST] 00000043 Authenticatio W Authentication failed for user [abc] (Scheme - Username/Password) Reason: Username or password is incorrect . Refer to debug level logs for category com.adobe.idp.um.businesslogic.authentication for further details
[1/21/15 10:29:49:278 CST] 00000031 Reference I org.apache.xml.security.signature.Reference verify Verification successful for URI "#f145055ebb4cb72241a696e2e37912b6"
[1/21/15 10:36:17:867 CST] 0000002d J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@3c103c10#tid=2172366 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:37:33:515 CST] 00000055 J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@7c5a7c5a#tid=2172587 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:37:35:980 CST] 000000bf Reference I org.apache.xml.security.signature.Reference verify Verification successful for URI "#b1ff24709e2764c4fdf7c8f5459a3f3c"
[1/21/15 10:37:38:570 CST] 000000c0 J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@1fbd1fbd#tid=2173407 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:37:42:673 CST] 000000c0 J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@3da43da4#tid=2174482 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:38:09:428 CST] 0000002d J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@26002600#tid=2176826 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:38:38:258 CST] 00000055 J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@50165016#tid=2177247 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:39:09:272 CST] 00000054 J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@26222622#tid=2179048 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:39:21:597 CST] 00000030 J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@2b402b40#tid=2179505 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:40:07:291 CST] 00000055 Reference I org.apache.xml.security.signature.Reference verify Verification successful for URI "#ea6a84b4552fffe36b7a86269d7b67d0"
[1/21/15 10:41:52:938 CST] 00000033 J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@3a503a50#tid=2184317 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:42:21:160 CST] 0000002d J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@56fd56fd#tid=2184783 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:42:24:218 CST] 000000c3 J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@276a276a#tid=2186778 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:42:28:071 CST] 000000c2 ProcessRecord W deleting oldest recording(s) due to space limitation.
[1/21/15 10:42:29:943 CST] 000000c2 J2EEConnectio W Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@3c5e3c5e#tid=2188110 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
[1/21/15 10:51:15:603 CST] 0000002f Reference I org.apache.xml.security.signature.Reference verify Verification successful for URI "#c536f8c15947c0e0d16970ced8d90811" -
Schedule job with JOB_CLOSE until a certain time
Hello all,
I'd like to schedule a background job with JOB_CLOSE until a certain time, i.e. first start time at 10 a.m., repitition period 15 min., last start time 1 p.m.
I tried this using parameter LASTSTRTTM, e.g.:
i_startdate = sy-datum.
i_starttime = '100000'.
i_prdmins = '15'.
i_laststrtdt = sy-datum.
i_laststrttm = '130000'.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = l_jobcount
jobname = 'MY_JOB'
sdlstrtdt = i_startdate
sdlstrttm = i_starttime
laststrtdt = i_laststrtdt
laststrttm = i_laststrttm
prdmins = i_prdmins
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
but I didn't succeed - the job didn't stop at 1 p.m. Any hints?
Best regards
Martin LehmannHi Martin,
i_startdate = sy-datum. " 1st time Job Start Date
i_starttime = '100000'.
i_prdmins = '15'.
i_laststrtdt = sy-datum. " If Job is not started by this date, then it wont be started once this date is completed
i_laststrttm = '130000'.
What it means is, if i want to start a job by 10th Oct.. & expect that it should be started maximum by 20th Oct.. If its 20th Oct & still the job is not started,... then terminate the job & do not start it..
If the job is already started, then it wont stop.
Hope its clear.
Best regards,
Prashant -
How to schedule job with spool list recipient in CPS ?
Dear Guru,
i import job with spool list recipient from r3 to cps and schedule in CPS, job is finished but there is no spool send to the recipient ?
Please advise ?
Best regards,
Supat Jupraphat.What job definition did you use? SAP_AbapRun? SAP_AbapRunPrint? SAP_AbapRunPrintExt?
Do you have XBP 2.0 or 3.0 in the SAP system? (check SE38 > INITXBP2)
Have you loaded the CPS transport files in the SAP system?
Note that using spoollist recipients either involves SAP_AbapRunPrintExt in combination with XBP3.0
OR
It involves SAP_AbapRun or SAP_AbapRunPrint and XBP 2.0 using transportation files in the SAP System.
Please check the section of the CPS admin guide called: "Enhanced SAP Interfaces with Redwood Transports"
Regards,
David -
Workflow in MDM with email notification
Hi All,
I am using the workflow for the first time,and doing a scenario where workflow should be automatic and ,
1. as one user finishes the processing it should go to the next user automaticallyan an so on.
2. As on user add new records and field values a email notification should also go to the next user available as the processing of first user finishes.
Please provide me someo helpfull links or suggetions ASAP,all the efforts will be appriciated.
Thanks & RegardsHi,
Process Flow Overview
1. Launch MDM Data Manager
2. Create the Validation.
3. Select the workflow Table
4. Design the workflow in Microsoft Visio Professional.
5. Run the work Flow in the Data Manager.
6. Verify Result
Pre-Requisite: Before You Launch the MDM Data Manager, Check whether the Repository is up and running (Status Must be Loaded Running in MDM console) and Microsoft Visio Professional has been installed and the Repository has been configured with the Mail Server.
Example : Start  ProcessValidateApprove Notify  Stop
Notify button
In the Step Properties pane, click on the To field and select a User from the Available Users list as u Required.
In the Step Properties pane, click on the Subject field and type in
In the Step Properties pane, click on the E-Mail body field.
In the E-Mail body field, click on the button and type the Message
If u had any doubts regarding Workflow Please let me know i will clarify.
Regards
Hari -
I there a problem with email notifications?
Hi.Since yesterday morning, I am no longer receiving email notifications through my email provider regarding new postings on threads that I've commented on in this forum, although I can still see them under my profile on this website.I haven't edited my preferences or my spam controls but they don't appear in the spam either.Anybody experiencing the same?
You're telling me! I made the mistake of clicking on "receive email notifications" for every community so ended up with about 300 emails! But of course it was a website problem, not my settings.To top it all, as soon as I deleted all the emails, the Wi-Fi on my W995 decided it had enough and couldn't even find my router in the same room.I've just handed it in for a warranty repair (hopefully) as it's less than 3 months old and no amount of troubleshooting (update service, soft reset, hard reset,update service no 2, phone repair and update service no 3) could fix it.They say it comes in threes....
-
Send dashboard with email notification
Hi,
Is it possible to send email notification along with dashboard in OEM 12c.Please assist me on this.
thanks,
sagarHi,
have you checked this link :http://docs.oracle.com/cd/E24628_01/doc.121/e24473/notification.htm -
Fault Policies in soa 11g with email notification
SOA 11.1.1.3
I want to implement faulpolicies.xml and send email notification. (for binding ,remote fault after certain retries).Can I use email activity in BPEL catch block for this , what should I add ,in my faultpolicies.xml to trigger email activity
<?xml version="1.0" encoding="UTF-8"?>
<faultPolicy version="2.0.1" id="FaultPolicyName"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.oracle.com/bpel/faultpolicy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Conditions>
<faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
name="bpelx:bindingFault">
<condition>
<action ref="ora-retry"/>
</condition>
</faultName>
<faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
name="bpelx:runtimeFault">
<condition>
<action ref="ora-retry"/>
</condition>
</faultName>
</Conditions>
<Actions>
<Action id="ora-retry">
<retry>
<retryCount>8</retryCount>
<retryInterval>2</retryInterval>
<exponentialBackoff/>
<retryFailureAction ref="send-notification"/>
</retry>
</Action>
</Actions>
Also, can anyone please tell which is a better option - using email activity or custom java code in fault
policies.xml.
ThanksLike Oraacler suggested, you can definitely rethrow the fault to BPEL to send the notification. However, your BPEL fault handlers will become pretty tedious when you have to check for error types in your catch block to retrieve the message and type the e-mail. On top of that, if you have multiple catch blocks in a single process or multiple processes spec'd to throw similar notifications, you will have to add a lot of redundant code. You can definitely externalize the notification to a different process that handles all e-mails, but even that does not take out having multiple invokes on the faulted process.
Having a fault handler Java class to handle global faults allows you to externalize and standardize exception management and also dramatically minimizes BPEL code. In your Java class you also get the API's to access a lot more information then you will in BPEL allowing you to provide detailed messages. This has been my choice to account for any error that should not happen on a regular basis (binding and remote).
The only drawback of the Java class is the development piece which can take forever since you have to restart the server after every little change. There is however a way to write a client java class for development on JDeveloper which directly connects to the weblogic-soa dehydration store to look up an instance with a fault and retrieve the fault message. You can then use that message to do your testing/development before finalizing it and moving it to the server.
Depends on what you decide, let us know if you run into any more constraints and we can definitely try to help you.
Thanks and good luck! -
Scheduling jobs with condition-after job programatically
Hi,
Could anybody please tell me how can we schedule jobs from programs(prgramatically) with condition-start after job(after a particular job completed) like we have the same option in sm36.
Thanks,
Rahul.Hello Rahul,
Check the following Link Page Number 41.
"Sample Program: Wait for Predecessor Job with
JOB_CLOSE"
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBLIB/BCDWBLIB.pdf
Regards,
Abhishek Jolly -
Schedule Job with Job_close after successful job doesn't work
Hi guys,
I'm using FM CLOSE_JOB with parameters :
JOBCOUNT = w_JobId
JOBNAME = w_JobName
PREDJOB_CHECKSTAT = 'X'
PRED_JOBCOUNT = w_oldJobId
PRED_JOBNAME = w_oldJobName
I have about 9 jobs wich must run the one after the others. The first start without PRED* parameters, but the 8 others one are filled with CHECKSTAT, and previous job name and id.
It works fine for the side "the one after the others", BUT, wathever the previous job give as result (cancelled or finished), the next one starts whereas I pass the parameter CHECKSTAT to X.
Any ideas of the problem and how to solve it?
Thanks in advance for your answers.Here my code with explanation :
REPORT YCOMJ023.
start-of-selection.
"Initialization of my vars
w_StepCount = 0. >> number of steps maxi in a job
w_jobCount = 1. >> number to see easier in SM37 the job order
CONCATENATE pe_name '_STEPS' w_jobCountC INTO w_JobName. (example : TOTO_STEP1)
CONDENSE w_JobName NO-GAPS.
"I open my first job
CALL FUNCTION 'JOB_OPEN' (OPEN job TOTO_STEP1)
EXPORTING
jobname = w_JobName
IMPORTING
jobcount = w_JobID
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
"We keep in memory first job IDs to close it at the end of the prg
w_firstjobName = w_JobName.
w_firstjobID = w_JobID.
"imagine you do the bellow code in a loop and it makes several jobs TOTO_STEP2 TOTO_STEP3 TOTO_STEP4...
ADD 1 TO w_StepCount.
IF w_StepCount GT 250.
"I call close job eatch time I reach 250 steps
PERFORM fx_jobclose.
ENDIF.
submit RKGALKEUB to sap-spool and return
without spool dynpro
spool parameters print_parameters
VIA JOB w_JobName NUMBER w_JobID
"End of the programmI close the current Job and the first one :
"Current
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = w_JobId
JOBNAME = w_JobName
PREDJOB_CHECKSTAT = 'X'
PRED_JOBCOUNT = w_oldJobId
PRED_JOBNAME = w_oldJobName.
"First one + launch with STRIMMED
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = w_firstjobId
JOBNAME = w_firstjobName
STRTIMMED = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
*& Form fx_jobclose
* text
FORM fx_jobclose.
"Step to zero to do a new loop after this form
w_StepCount = 0.
DATA : w_job_released TYPE CHAR1.
"If the flag IsFirst, we don't do nothing, because it's the first JOb, and it should not be closed
IF w_IsFirst = 'X'.
"Flag is set to blank
w_IsFirst = ''.
ELSE.
"Else it mean we are closing a job with predecessor :
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = w_JobId
JOBNAME = w_JobName
PREDJOB_CHECKSTAT = 'X'
PRED_JOBCOUNT = w_oldJobId
PRED_JOBNAME = w_oldJobName
"SDLSTRTDT = sy-datum
"SDLSTRTTM = sy-timlo
IMPORTING
JOB_WAS_RELEASED = w_job_released.
ENDIF.
"Vars get the value of current job, witch will become the older one
w_oldJobId = w_jobID.
w_oldJobName = w_JobName.
"I make the new TOTO_STEPX job name
ADD 1 TO w_jobCount.
w_jobCountC = w_jobCount.
CONCATENATE pe_name '_STEPS' w_jobCountC INTO w_JobName.
CONDENSE w_JobName NO-GAPS.
"I open the new job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = w_JobName
IMPORTING
jobcount = w_JobId
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
ENDFORM. "fx_jobclose
I hope my code is clear enought, I tried to delete the superfluities code. -
Track GRN with Email Notification
Dear All,
We have different users who are doing MIGO and MIRO. Users who are doing MIRO need Email notification when GRN is done.
This E mail need to be sent for GRN in respective plant and User name who has done to the respective user for MIRO.
We cannot send E mail on check as some errors might be left. This has to be sent while GRN is posted.
Please guide on the relevant Table/fields and User Exit or BADI to trigger the event.
Regards,
VikasHi,
There a standard SAP functionality to send mail to buyer , i.e.purchase group
You have to configure output MLGR in Inventory management , in PO you will GR message tick on delivery tab
May be you can map purchase groups in the user ids of MIRO user
Explore further
Thanks
Diwakar -
I'm new to AQ and trying to understand the concepts. I have been installing and trying the sample codes provided by Oracle. There is a basic question regarding Email Notifications in AQ that is still baffling me: If I enqueue an email message and add a subscriber for that message, when does the email message get sent to the designated recipient? Do I have to create a DBMS_JOB to constantly dequeue messages? I'm not clear about the message dequeueing part. I have installed the sample code at http://www.oracle.com/technology/products/aq/files/bz_demos.zip
I have run the code successfully but have not been able to receive any emails. Any help/clarification?
Thanks.The code I'm referring to specifically is below. Is this code alone enough for the email address to receive emails? Using my own email address and mailhost properties, I have not received any emails. Or is there something else I need to do?
REM =======================================================
REM Set the mailserver properties
REM =======================================================
call sys.dbms_aqelm.set_mailhost('gmsmtp01.oraclecorp.com');
call sys.dbms_aqelm.set_mailport(25);
call sys.dbms_aqelm.set_sendfrom('[email protected]');
REM =======================================================
REM Register for email notifications
REM =======================================================
declare
reginfolist sys.aq$_reg_info_list;
begin
reginfolist := sys.aq$_reg_info_list(
sys.aq$_reg_info('bz_adm.bzcardorders_q:URGENT',
DBMS_AQ.NAMESPACE_AQ,
'mailto://[email protected]',
null));
dbms_aq.register(reginfolist, 1);
end; -
Reconcile with email Notification
Hi,
I am trying to send an email notification when reconciliation between IDM and resource is taking place. I am using the notification.redirect parameter defined in the waveset.properties file to capture the email contents in a flat file eg. c:/email.txt.
In the Edit Reconcile Policy, i am using post reconciliation workflow as "Notify Reconcile Finish"
I am modifying the waveset.properties file as notification.redirect = c:/email.txt
After reconciliation, no such file is created.
Note: I am not changing anything else ...
Can anybody help me out
Thanks in advancedid you receive a reply on that point ?
I wonder if the notification connector can be customized and used for reconciliation
Maybe you are looking for
-
EXCEPTION in deploying ear file on weblogic server 11g
Hi, I am trying to deploy an ear file on the weblogic server 11g(10.3.5) application installed successfully but when i tried to start application to listen service requests its throws exceptions and application state changed from prepared to failed I
-
Calendar - possible to disable "smart" event details in titles?
I'm extremely frustrated by Mavericks Calendar and Reminders apps... I came from 10.6.x and things worked flawlessly. now, I cannot name an event with any sort of details in the title without it taking those details and applying them to the event its
-
I have an iphone 4s and have installed the new ios download and can no longer find games and other apps that i have downloaded. Where would they be or have they been wiped?
-
How to get main method running in JavaApplet?
We're currently building a Java Applet with JBuilder5. We can get the event handlers to work, but the we can't get the main method running. What is the problem? Any suggestions? Thanks for any helps! Miska
-
How to restore my deleted photo book?
Accidentally deleted my photo book under Keepsakes but there is no UNDO! I can try using time machine but is there a faster easier way to get just the photo book I accidentally deleted. There was no UNDO key and there was nothing in the trash that lo