INVALID_FIELD_FOR_INSERT_UPDATE: The field RecurrenceStartDateOnly is invalid

Amit Arora
Apr 9, 2018 · 2 min read
Image for post
Image for post

If you’re a Certified Salesforce Administrator then you’re most likely familiar with Process Builder. It’s Salesforce’s way of enabling admins to do cool things with clicks vs. code.

Well there was an apparent change made to a field within process builder that recently caused me a bit of heartburn (thanks Salesforce)

A lot of our flows in the ORG I represent have tasks associated with them. When building out these tasks we had put a start date of today i.e.
Formula + NOW().

Image for post
Image for post

Salesforce performed a system upgrade and part of that upgrade was to replace the old “Start Date” field with the new “Recurrence Start” field. There is a release note referencing this change. You can find that note here if you really want to nerd out.

If you’re using the Start Date field in your process builder then you have most likely run into an error. This is the exact error message I received from all of my processes that were using the Start Date field within Process Builder.

Error element myRule_1_A1 (FlowRecordCreate).
This error occurred when the flow tried to create records: INVALID_FIELD_FOR_INSERT_UPDATE: The field RecurrenceStartDateOnly is invalid.. For details, see API Exceptions.

If you’re in the same boat as me then the best way to fix it is the following:

  1. Clone your existing process within process builder
  2. Click on the task where “Start Date” is being used
  3. Delete the field and replace it with “Recurrence Start” if needed
  4. Activate the new process

Once we followed the above-mentioned steps all of the FlowApplication Error emails stopped and users were able to continue using Salesforce without any further issues.

Cheers!

sfdcmastery

Tips and tricks for Salesforce Admins

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store