Post

2 followers Follow
0
Avatar

How to Update Recurring Tasks frequency using Rest API?

Hi,
I want to update recurring tasks using Rest API.
When i am updating Recurring Task frequency through Clarizen UI it is showing following warning message:

Changing the frequency of a Recurring Task will permanently delete all occurrences that have not started.
New occurrences will be created according the updated frequency.
Would you like to proceed?

So By clicking Yes we can update Recurring task with new frequency.
But how can we achieve the same through Rest API , as i am getting the same warning message as response.
Is there any way to pass Yes as a response?

Any help would be greatly appreciated.

Thanks in Advance,
Ravikanth A

Ravikanth Answered

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Ravikanth,
Add the ExecutionOptions information below as a field for update:

"ExecutionOptions":[{"fieldName":"BCS.BusinessLogic.Errors.RecreateRecurrentTaskWarning","Value":"true"}]

This will get you past the warning message.
Hope this helps,
Ophir

Ophir Kenig 0 votes
Comment actions Permalink
0
Avatar

Hi Ophir,
Thanks alot for your help,it works like a charm

Regards
Ravikanth A.

Ravikanth 0 votes
Comment actions Permalink