function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DaGunsterDaGunster 

Recurrence Type : What are the values

Apparently, internally, some calculations are made based on the values of this field.

I am not seeing where these values are.

Instead of my going through all the permutations - can you show me where these values are published, I'm not seeing it.

thanks.
DaGunsterDaGunster
This should be in the documentation but it isn't. It's really kind of important when using Apex to create recurring events.
In the interest of getting my questions answered - I'll put what I discovered here. Use at your own risk.
The potential values to write into this field are...

RecursWeekly
RecursDaily
RecursMonthy
RecursYearly

Watch the case and don't put a space between the words.
SuperfellSuperfell
Any of the schema explorer tools (Apex Explorer, SoqlXplorer, the Eclipse Toolkit) can show you the picklist values for that field.

Label (Value)
Recurs Daily (RecursDaily)
Recurs Every Weekday (RecursEveryWeekday)
Recurs Monthly (RecursMonthly)
Recurs Monthy Nth (RecursMonthlyNth)
Recurs Weekly (RecursWeekly)
Recurs Yearly (RecursYearly)
Recurs Yearly Nth (RecursYearlyNth)
Nathan HincheyNathan Hinchey

I found this question because I was trying to find the different ways to have a task regenerated, which is actually RecurrenceRegeneratedType. See this link for answers about that:

https://salesforce.stackexchange.com/questions/206249/choosing-when-a-task-should-recur-in-apex-recurrenceregeneratedtype