Forum Discussion
DanieGrabe
7 years agoQrew Trainee
Good day kpmcdona,
I had to create a similar webhook today and found that curuser always equals the webhook owners' name and userid. The only way for me to get this to work was to use new.Last Modified By. Here is a section of my webhook to illustrate:
<qdbapi>
<usertoken>{your token will go here}</usertoken>
<skipfirst>0</skipfirst>
<clist>3.116.115</clist>
<records_csv>
<![CDATA[
%RepeatOn%
[Record ID#],[new.Last Modified By],%curdate%
%RepeatOff%
]]>
</records_csv>
</qdbapi>
I had to create a similar webhook today and found that curuser always equals the webhook owners' name and userid. The only way for me to get this to work was to use new.Last Modified By. Here is a section of my webhook to illustrate:
<qdbapi>
<usertoken>{your token will go here}</usertoken>
<skipfirst>0</skipfirst>
<clist>3.116.115</clist>
<records_csv>
<![CDATA[
%RepeatOn%
[Record ID#],[new.Last Modified By],%curdate%
%RepeatOff%
]]>
</records_csv>
</qdbapi>
- kpmcdonakpmcdon7 years agoQrew TraineeYes, 'new.Last Modified By' is how I handle this in other cases. Sadly, if the record is deleted there doesn't appear to be a value in that field so the value that gets captured is blank/null.