Email notification to Sales team on expiry date which is stored in collection

583 views
Skip to first unread message

nas-adora...@lafarge.com

unread,
May 13, 2015, 9:24:50 PM5/13/15
to suppor...@runmyprocess.com
Dear Team,

I'm developing a system which is the system will send an email notification automatically to Sales team to notify them which customer's collateral has been expired and expired date for each customers are stored in collection.

Can you guys give me some ideas how to develop this system in RMP?
--
=================================================
Safety Our Way of Life
Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to
processing of your personal data as set out in the Lafarge Malaysia Privacy
Notice which can be viewed here
<http://www.lafarge.com.my/wps/portal/my/0_9-LegalMentions#editoEncartVide0000000000026567>
.

This email and any files transmitted with it are confidential and intended
only for the use of the person to whom it is addressed. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited. Please notify the sender immediately by email if you
have received this email by mistake and delete this email from your system.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any files for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.

Pankaj Kumar

unread,
May 14, 2015, 1:53:18 AM5/14/15
to suppor...@runmyprocess.com, nas-adora...@lafarge.com
Hi,

You can use timer activity to trigger the process, to run once in a day or as per your requirement and in the process you can access the collection with freemarker and check which customer's collateral is expired and then use email activity to send the notification to the sales team.

Please find the useful links below for this:-


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/0c1e3c8a-b863-47b1-a23a-cfe9de92657d%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

nas-adora...@lafarge.com

unread,
May 14, 2015, 4:32:23 AM5/14/15
to suppor...@runmyprocess.com, nas-adora...@lafarge.com
Hi Pankaj,

Let say i used Schedule a process with a Timer. The process starts with start timer, then send an email and end...How can I test?

Pankaj Kumar

unread,
May 14, 2015, 8:24:43 AM5/14/15
to suppor...@runmyprocess.com, nas-adora...@lafarge.com
Hi,

For testing the process in Test Mode, there is a button "Launch Test", it trigger the process. Please find the screen shot of the same.

Inline image 2





Thanks & Regards,
Pankaj Kumar
Fujitsu RunMyProcess Support
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.

Nas-Adora Mohd-Dan

unread,
May 14, 2015, 11:16:31 PM5/14/15
to Pankaj Kumar, suppor...@runmyprocess.com
Hi Pankaj,

I've created the process. The process will send email to Sales Team that these customers collateral is already expire. How can I display all the customer name in the email? Example: the variable of the customers name is ${customers_name} and of course the customers name will be more than one. How to display the list in the email? Please refer attached image of the process.


Thanks and regards,

NAS ADORA BINTI MOHD DAN
MYIS Department | IT APPLICATION SPECIALIST
LAFARGE MALAYSIA | 2, Jalan Kilang, Petaling Jaya
Office:  (603) 7962 3569 I Fax : (603) 77851453



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.
process.png

Pankaj Kumar

unread,
May 15, 2015, 3:08:45 AM5/15/15
to Nas-Adora Mohd-Dan, suppor...@runmyprocess.com
HI Nas,

For sending the mail to multiple users, you can use the same variable (string type) and assign emails addresses separated by ",".

For example the variable
customers_mail_list will have the value "email_addr1,email_addr2,email_addr3"

For Displaying the name of the customers, I guess from collection an array will retrieved whose accounts are expired, You can use freemarker to loop the array and make an string variable seperated by ","for showing the users namewhose account is expired.

Later on you can enhance the mail UI to display the expired users in a table.

Thanks,
Pankaj




Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

Nas-Adora Mohd-Dan

unread,
May 15, 2015, 6:03:51 AM5/15/15
to Pankaj Kumar, suppor...@runmyprocess.com
Dear Pankaj,

Back to my question how to test my scheduled process. It was sucessfull in Test mode. but how can I make it successful in production without click any button?

Thanks and regards,

NAS ADORA BINTI MOHD DAN
MYIS Department | IT APPLICATION SPECIALIST
LAFARGE MALAYSIA | 2, Jalan Kilang, Petaling Jaya
Office:  (603) 7962 3569 I Fax : (603) 77851453



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

Pankaj Kumar

unread,
May 15, 2015, 6:34:51 AM5/15/15
to Nas-Adora Mohd-Dan, suppor...@runmyprocess.com
Hi Nas,

For auto triggering the process by timer, you need to create the Live version of the Project, after then it will be triggered at scheduled interval.

Please find the respective information of the RMP Doc, link is as follows;-

Pankaj Kumar

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

Nas-Adora Mohd-Dan

unread,
May 18, 2015, 8:27:56 PM5/18/15
to Pankaj Kumar, suppor...@runmyprocess.com
​Hi Pankaj,

Tq for your help. One things i wasn't sure. I need to retrieve data from collection during the schedule process run. Should i retrieve the data at the Timer start or after the timer start, i create a task which in input variables I retrieve the data from collection.​ Please help me.

Thanks and regards,

NAS ADORA BINTI MOHD DAN
MYIS Department | IT APPLICATION SPECIALIST
LAFARGE MALAYSIA | 2, Jalan Kilang, Petaling Jaya
Office:  (603) 7962 3569 I Fax : (603) 77851453



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

Pankaj Kumar

unread,
May 19, 2015, 4:53:40 AM5/19/15
to Nas-Adora Mohd-Dan, suppor...@runmyprocess.com
HI Nas,

I guess you are running the script for fetching the record from collection in an activity input variable tab which is good. Please find the below screen print of the process that is very similar to your requirement.

Inline image 1

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

Nas-Adora Mohd-Dan

unread,
May 20, 2015, 11:01:03 PM5/20/15
to Pankaj Kumar, suppor...@runmyprocess.com
Dear Pankaj,

Please refer attachment. Why i got this error when i want to send email in multi-instance loop process? Please help me.

Thanks and regards,

NAS ADORA BINTI MOHD DAN
MYIS Department | IT APPLICATION SPECIALIST
LAFARGE MALAYSIA | 2, Jalan Kilang, Petaling Jaya
Office:  (603) 7962 3569 I Fax : (603) 77851453



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

process error.png

Murali

unread,
May 20, 2015, 11:11:35 PM5/20/15
to suppor...@runmyprocess.com, nas-adora...@lafarge.com, pku...@runmyprocess.com, nas-adora...@lafarge.com
Hi Nas,

Please refer to Parameters section(3rd Tab in attachment) to debug value of parameter that is shown in error.
Let me know If you are unable to progress, will arrange for screen share to resolve.

Regards,
Murali

Nas-Adora Mohd-Dan

unread,
May 20, 2015, 11:27:33 PM5/20/15
to Murali, suppor...@runmyprocess.com, Pankaj Kumar
The error message is 

Error while processing {list_spreadsheet.feed.entry}
Expression list_spreadsheet is undefined on line 1, column 3 in get rows with criteria.

what should i enter as list_spreadsheet?

Thanks and regards,

NAS ADORA BINTI MOHD DAN
MYIS Department | IT APPLICATION SPECIALIST
LAFARGE MALAYSIA | 2, Jalan Kilang, Petaling Jaya
Office:  (603) 7962 3569 I Fax : (603) 77851453



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

Nas-Adora Mohd-Dan

unread,
May 21, 2015, 2:03:48 AM5/21/15
to Murali, suppor...@runmyprocess.com, Pankaj Kumar
Hi Team,

I managed to solve the previous issue/error, now i have an issue. Example: I retrieve the customers name in my spreadsheet with criteria the expired date is today's date, then I want to send notification to Sales team. Let say i retrieve only 2 customers that the collateral expired today. How can i send the notification to Sales team in different email. 

Example customer A, customer B was found. 1 email will send to notify that customer A collateral is expired and another 1 email will send to notify customer B collateral is expired.

I managed developed a process that send 2 emails now but that 2 emails send me that customer A & customer B collateral is expired. Please refer attachment.

Thanks and regards,

NAS ADORA BINTI MOHD DAN
MYIS Department | IT APPLICATION SPECIALIST
LAFARGE MALAYSIA | 2, Jalan Kilang, Petaling Jaya
Office:  (603) 7962 3569 I Fax : (603) 77851453



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

emails.PNG
p1.PNG
P2.PNG

Pankaj Kumar

unread,
May 22, 2015, 1:35:13 AM5/22/15
to Nas-Adora Mohd-Dan, Murali, suppor...@runmyprocess.com
Hi Nas,

You are running the process in "Test" mode, that why you are getting the mail, please run the application in "Acceptance" mode, after creating the version of your project.

Also for sending the 2 mails you have created a sub-process one alternate approach can be using the loop passing the array in the loop which will be lighter execution compare to sub-process.
I have attached the screen print of the same.

Please find the respective links below for details:-



Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

7143_1.PNG
7143_2.PNG
Reply all
Reply to author
Forward
0 new messages