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().
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:
- Clone your existing process within process builder
- Click on the task where “Start Date” is being used
- Delete the field and replace it with “Recurrence Start” if needed
- 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.