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

RecurrenceRule not working when set with API

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ciaran
Top achievements
Rank 1
Ciaran asked on 24 Jan 2018, 07:42 PM

If I try to set the RecurrenceRule through the API, the rule is created, but the email is never sent.

 

This is an example of the JSON

 

{
"Name": "8",
"Enabled": true,
"ReportId": "155724-8c3f",
"DocumentFormat": "PDF",
"StartDate": "2018-01-24T18:10:00",
"RecurrenceRule": "FREQ=Daily;COUNT=0",
"Parameters": {},
"MailSubject": "Telerik Report Server - Task Scheduler notification",
"MailBody": "foo",
"ExternalEmails": [
],
"SubscriberIds": [
"a56e2f86500b4ae0953f925e6c047fad"
],
"UserId": "a56e2f86500b4ae0953f925e6c047fad"
}

1 Answer, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 29 Jan 2018, 05:17 PM
Hello Ciaran,

The issue is reproducible on our side as well. It is caused by the count parameter of RecurrenceRule object set to 0. If count value is omitted the server still appends "count=0" string which is incorrect.

The issue will be logged into our system for further investigation and improvements. A workaround is to set the count parameter to a value other than 0, for example:
RecurrenceRule: "FREQ=Daily;COUNT=1",

Your Telerik points were updated to thank you for bringing this issue to our attention.


Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Ciaran
Top achievements
Rank 1
Answers by
Katia
Telerik team
Share this question
or