Discussions

Expand all | Collapse all

Webhook bug?

  • 1.  Webhook bug?

    Posted 07-06-2017 20:52
    So I have a webhook using API_ImportFromCSV and the trigger for this is the changing of a formula checkbox field value. Well, my webhook fails to trigger, but if I change the trigger to a regular checkbox it works. 
    Also I should state that the endpoint URL is in the same table the webhook resides. 
    Anyone else encountered this?


  • 2.  RE: Webhook bug?

    Posted 07-06-2017 20:56
    What does the formula depend on - ie is the record getting edited or is the checkbox changing as a result of lookup or summary fields changing.

    Webhooks only fire when the record gets edited not when related records on other tables get edited.


  • 3.  RE: Webhook bug?

    Posted 07-06-2017 21:24
    Did not know that... Great to know though. 

    Thanks again Mark!


  • 4.  RE: Webhook bug?

    Posted 07-06-2017 21:31
    Was that the cause of the problem?


  • 5.  RE: Webhook bug?

    Posted 07-06-2017 21:35
    Exactly what you said. My formula was pulling information through a reference from a related table.


  • 6.  RE: Webhook bug?

    Posted 07-07-2017 11:39
    So I've been wrecking my brains on how to get around this problem, but I can't come up with the answer.
    Here is my formula:
    //[Now] - changes to Now() every 30 minutes using table to table sync
    //[Store Start Date] and [Store End Date] come from a related table

    var date nowDate =ToDate([Now]);

    If([Store End Date]>=($nowDate) and 
        [Store Start Date]<=($nowDate) and 
         Abs([Store End Time]-ToTimeOfDay([Now]))<=Hours(1),
           true,false)


  • 7.  RE: Webhook bug?

    Top
    Contributor
    Posted 07-12-2017 05:02
    What if you use a webhook on the source table, that changes a checkbox on the table in question....