Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Background processing.

Former Member
0 Kudos

Hi all,

Actually my client's requirement is: in Asset master once the Insurance expiry date is reached, automatically a mail shud be sent to concerned person.

Now how to do this?

One solution might be triggering WF once the Asset is created and then putting the Insurance expiry date thru expression in the Latest end of an Activity an when reached - Sending Mail. But as this has to be done automatically hence the task has to be a background task. Is this possible or is there any better way out.

Kindly suggest fast.

Regards,

Sudipto.

1 ACCEPTED SOLUTION

ramki_maley
Active Contributor
0 Kudos

Your best option is to write a simple report that runs in background everyday to scan the Asset Master and send the mails. You could group the assets by recipient in one mail. No reason to burden the WF system.

Your solution will work (using requested start rather than latest end)once after the first expiry date is reached. What happens after the insurance is renewed and expires again?

BTW, is your previous post below resolved?

Cheers,

Ramki Maley.

2 REPLIES 2

ramki_maley
Active Contributor
0 Kudos

Your best option is to write a simple report that runs in background everyday to scan the Asset Master and send the mails. You could group the assets by recipient in one mail. No reason to burden the WF system.

Your solution will work (using requested start rather than latest end)once after the first expiry date is reached. What happens after the insurance is renewed and expires again?

BTW, is your previous post below resolved?

Cheers,

Ramki Maley.

0 Kudos

Hi Ramki,

Due to Server probs. yet to test ur solution. But proceeding thru Background processing only using function module "RS_SEND_MAIL_FOR_SPOOLLIST" for sending mail.

Thanks a lot.

Regards,

Sudipto.

Message was edited by: Sudipto Barman