RecurrenceRule not working when set with API

2 posts, 0 answers
  1. Ciaran
    Ciaran avatar
    2 posts
    Member since:
    Apr 2012

    Posted 24 Jan 2018 Link to this post

    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"
    }

  2. Katia
    Admin
    Katia avatar
    693 posts

    Posted 29 Jan 2018 Link to this post

    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
Back to Top