This is a migrated thread and some comments may be shown as answers.

Server Triggered Emails

1 Answer 37 Views
Cloud Code
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daniel
Top achievements
Rank 1
Daniel asked on 18 Jan 2015, 11:00 AM
Hi,

I have a project that allows a user to create a date range (12 months with a startDate & endDate) for some points that they earn. I know currently you do not provide scheduled tasks, but I am trying to find a way server side that can check each users date range and at increments (every 3,6,9 & 12 months) trigger a specific email template based on the increment. I could do it client side as a workaround by checking the months and adding a flag in the type if the email has previously been sent but obviously server side would be a much better solution.

Any help would be great.

Thanks,
Daniel

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 20 Jan 2015, 02:37 PM
Hello Daniel,

Support for scheduled tasks in the cloud code is on our roadmap and is expected to be shipped with some of our next releases. Until then you can register a logic in the Cloud Code for data or Cloud Function that verifies the state of the user range in the given content type. You can call this logic in a CRUD event in the cloud code, from the client app or from an external service.

Please, let me know if you have questions.

Regards,
Anton Dobrev
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
Tags
Cloud Code
Asked by
Daniel
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or