Are fields/markers and user tokens the only items available to webhooks?

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
I'm wanting to send through the webhook the current date/time, updating a date/time field for multiple records that were modified in Grid Edit.  Want to know if there is any date/time available or do I need to create a formula date/time field to use instead?  



<qdbapi>

  <usertoken>_my_user_token_here</usertoken>

  <records_csv>

<![CDATA[

%repeatOn%

[Record ID#], %current_datetime%

%repeatOff%

]]>

  </records_csv>

  <clist>3.135</clist> 

</qdbapi>
Photo of Ryan

Ryan

  • 292 Points 250 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
I would just create a field called [now] which has a formula of now().  I don't know if there is another way to do it without creating a field, but that should work.
Photo of Kat

Kat

  • 270 Points 250 badge 2x thumb
They just added a new marker %curdate% which you can use. Alternatively, so long as the record isn't deleted, you can use [Last Modified Date]. (Since they just edited it, it will be the current time.)
Photo of Carlos

Carlos

  • 836 Points 500 badge 2x thumb
is there a %curdatetime% available?
If you create a date/time field called, for example [Now] with a formula of now(), that would be the current date/time with you could use as a field.