Discussions

 View Only
  • 1.  What order will actions trigger in?

    Posted 07-12-2018 20:22
    I have two actions. Both trigger off the same thing: a record being created with a specific field not being blank. The first action uses that field to create a record. The second clears that field. 

    Is there a way to confirm that they always trigger in that order? It has been working as I would like so far, but as far as I know it is random. 

    Thanks


  • 2.  RE: What order will actions trigger in?

    Posted 07-12-2018 20:53
    Personally, I would modify the triggering conditions for the two actions, to guarantee that they would occur in the right order. Something like this ...

    Action 1 triggers when record 1 is created with field X filled. The action creates record 2.

    Action 2 triggers when record 2 is created. This action clears field X in record 1.

    Exactly how you do this depends on some details, such as whether the two records are in the same table or different tables. If in different tables, you will need each table to have its own report-link field to the other table. If in the same table, you could create a field called something like "source ID". It would be null in record 1, but it record 2 it would have record 1's Record ID# (written as part of Action 1).


  • 3.  RE: What order will actions trigger in?

    Posted 07-12-2018 23:33
    I suggest an Automation as for sure you can control the sequence.  I have the perception that an Automation take a bit longer to run (just a feeling that it take a second or two to start, where an Action/ webhook is very immediate), but you get to for sure control the sequence.

    I once had the opportunity to ask that same question face to face with a webhook developer at Quick Base and she said you could not guarantee the sequence as they could go into different queues.


  • 4.  RE: What order will actions trigger in?

    Posted 07-13-2018 19:09
    Good to know. It's been consistent with which order the actions have triggered in with my testing, but an with an automation I can know for sure it will trigger in the correct order. Thanks for the response.