cancel
Showing results for 
Search instead for 
Did you mean: 

Send an Email If there is no Processed message for the Day

Former Member
0 Kudos

Hi all,

I have to send an Email if there is no file processed in XI for that particular interface on that day.

Is it possible and How?

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hey

If you are picking file via File adapter from FTP on sender side,then you should be able to use the "Timeout parameter" of the sender communication channel to trigger if no file is found within a certain period of time.

Thanks

Aamir

Former Member
0 Kudos

Heyy Aamir,

My requirement is like this....

The file may come at any time through out the day. only one file will come to that folder in day and that too only once in a daya at any time.

So i cant specify particular time. what and all i want to do is whether that particular interface is executed every day or not, if not executed i have to trigger email to business users.

Regards

Former Member
0 Kudos

Hi Vamsi,

Yes its possible.

Create the UDF in the mapping and define one global counter variable (default value is 0).

when the message passing through that interface then you can increase the counter value by one, finally at the end of the day check the counter value if it is equal to 0 (zero) then call the alert.

/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

For Email then you configure the Email alerts.

Once the day is changed then set the counter value 0.

Regards

Ramesh

VijayKonam
Active Contributor
0 Kudos

Problem with the above solution is, even to set or reset the GC value, the interface needs to run..!! The only solution I would think is, dont use PI for implementing this. Use some simple program like VB or a script to trigger email.

VJ

Former Member
0 Kudos

Hi,

Idea is ideally too good logically.

>>Yes its possible.Create the UDF in the mapping and define one global counter variable (default value is 0).

Can you please start me on this how to.....

>>finally at the end of the day check the counter value if it is equal to 0 (zero) then call the alert.

How to check the counter value here and there by how to trigger the email

>>Once the day is changed then set the counter value 0.

Where shld i do this and how???

Please clarify me or just start me on this how to go....

Regards

Former Member
0 Kudos

This UDF idea is good, but I am wondering how you are planning to trigger the interface? If the interface is not triggered, you will never come to the mapping stage and the whole idea of having a Global Counter will fail.

Regards,

Neetesh

Former Member
0 Kudos

Hi,

My Interface is File-File only, just file will be placed at FTP location and shld pick up

Regards

Former Member
0 Kudos

Krishna,

I have to send an Email if there is no file processed in XI for that particular interface on that day.

Is it possible and How?

Yes, this can be done. Use BPM to check whether the process has been run for a day. Use a deadline as a result of which, it will trigger a mail.

Let us know if you need more details.

Regards,

Neetesh

Former Member
0 Kudos

Heyy Neetesh,

Thanks for the reply. With out using the BPM do we have any other method,

Because here the interface which iam using is just pulling the file from Shared folder and drop those at SAP ECC folders for their process. here i dont use any mapps or some thing else. Process is so simple.

For triggering the Mail if i go for BPM means this is very large process again

Regards

Edited by: Vamsi Krishna on Oct 20, 2009 11:03 PM

Former Member
0 Kudos

Hi Krishna,

I understand your point, but we need a trigger to push the email. Also, we need to monitor whether at least one file was processed for the day.

I don't think it can be achieved without BPM. Let's wait for others to comment on this.

I would be interested to know if this can be done without BPM

Regards,

Neetesh

Former Member
0 Kudos

Dear Experts,

Any one Please update me on this

Regards