Help

Re: Automation Error Message

2823 3
cancel
Showing results for 
Search instead for 
Did you mean: 
Membership_Supe
4 - Data Explorer
4 - Data Explorer

Hi,

So I set up an automation and am receiving an error message that I can’t quite work out.

image

The automation is “Create a record” and I am updating about 40 fields. The automation has run successfully many times. The ones that didn’t run were missing some fields, but so were automations that processed successfully.

Anyone know how I can get more clarity on what specifically is happening?

8 Replies 8
brianfrumberg
5 - Automation Enthusiast
5 - Automation Enthusiast

Having the same problem! Automations were working fine, now they have stopped :frowning:

Welcome to the community, @Membership_Superuser! and @brianfrumberg :grinning_face_with_big_eyes:

More details would help in both cases. Is the problem occurring in the trigger, or in an action? Could you share more detailed screenshots of your automation settings? The more detail you can share, the easier it will be for us to help (if we can help; it’s possible this is an issue that only Airtable support can address, but without more details about your specific situation, it’s difficult to know for certain.)

@Membership_Superuser Could you share more info re: why you’re using the “Create record” trigger for your automation? Are the new records being created via a form? Are you making them manually? Are you pasting data from another application?

Hey @Justin_Barrett! Thanks for all your help over the last few months!

The automation works fine when testing, and when inputting values manually. The problem only occurs when records are being created by a form.

The automation is a fairly simply one,

Screen Shot 2020-09-20 at 2.15.51 am

And the error message occurs as the automation is unable to read the input of last field, ‘Start Time’. The input record is a ‘formula’ which has an output that is recognised as a date field.

What I am trying to achieve, amongst other things, is for consultants to submit their availability by a very simple form, and then use a mix of automations, datetime_parse and other formulas to break down that availability by the hour, and repeat relevant dates.

Screen Shot 2020-09-20 at 2.15.25 am

Again, this automation works when inputting manually, or copying/paste. It almost seems like when using the form, Airtable doesn’t have time to compute the datetime_parse formula. Although I’m sure I’m almost certainly wrong…

Thanks in advance!

Anyone following, I found a temporary solution using the formula @kuovonne outlined here.

It did seem that the automation was moving too quickly to calculate the complicate DATETIME_PARSE and DATEADD formulas. High chance I could be wrong though!

Complex formulas can definitely take a long time to calculate, especially formula fields that rely on other calculated fields. When creating resource-intensive, chained formula fields that pass info back and forth between linked records, I have seen some fields take several seconds to calculate or longer.

@brianfrumberg I noticed in your screen capture that you are using the When a record enters a view trigger.

If the filters for the view use “and” conditions, another option would be to use the When a record meets conditions trigger instead. Setup the conditions to be the same as the conditions for the view, and also add conditions for the formula fields to have a value. This will result in one less field to clutter your table and the automation will trigger sooner.

Membership_Supe
4 - Data Explorer
4 - Data Explorer

@Justin_Barrett

I realize now my initial screenshot/explanation may have been confusing.

The automation was live and ran successfully 80+% of the time. On the ones that failed to run showed the below message. Since it was super vague and unhelpful I played with the automation so that one of the records that failed would be the “test record” to see if I could get more details (I didn’t). My original message included the fail from this testing.

image

WHY DETAILS

I have built an extremely complex CRM that started off as a very different database. It was meant to be temporary but it now looks like this needs to permanent. In other words, had a set out with this end in mind I would have built everything very differently.

We have two types of clients, “New” and “Established”, with different processes so each lived on its own table and there were connections between the two. Since this is now permanent we need for “New” clients who meet certain conditions to move to the “Established” list.

BUILD DETAILS

TRIGGER: When a record meets conditions.
ACTION: Create multiple records, update some records
BREAK: The break always happens on the first “Create Record”

That record is created on another table and about 40 fields are input with all except 1 being data that is pasted for from the triggering record.

The successful records were mostly 100% complete but not all had every field filled in. All of the ones that did not every field filled in.

Hopefully that will help.

Any assistance would be much appreciated!

Thanks for the details. However, I’m now confused in a different direction. Originally you said that your automation used the “When record created” trigger:

Now you’re saying the trigger is “When record meets conditions.” Which is it?

This is just a stab in the dark, but did you mean to say in your initial post that the action (i.e. the action that is failing) is “Create a record”? Just to clarify the terminology, the automation is the entire structure—trigger plus one or more actions.

If I’m reading that correctly, and if the automation uses the “When record meets conditions” like your most recent message indicates, then my next question is this: what are the conditions? My gut says that one (or possibly more) of the conditions is being met via incomplete/malformed data when the automation triggers, which feeds that incomplete/malformed data to the automation, and therefore causes the failure.