Forum Discussion
PaulPeterson1
3 years agoQrew Assistant Captain
When you are making an update with an automation, the Last Modified By will be the person who created the automation. What action is being done when the "approved" button is clicked?
------------------------------
Paul Peterson
------------------------------
------------------------------
Paul Peterson
------------------------------
- JessicaStevens3 years agoQrew MemberIt changes the status to an "approved" status.
------------------------------
Jessica Stevens
------------------------------- PaulPeterson13 years agoQrew Assistant CaptainWhat I meant was, does clicking approved make an API call to update the record and change the status? If so, the update could be done in the button click without needing an Automation.
------------------------------
Paul Peterson
------------------------------- JessicaStevens3 years agoQrew MemberI believe so. This is the formula i have for the button:
var text bgcolor = "#79c043";
var text txtcolor = "white";
var text style = "style=\"text-decoration: none; background:" & $bgcolor & "; border-radius: 5px; padding: 8px 20px; color: " & $txtcolor & "; display: inline-block; font: normal 700 24px/1 \"Calibri\", sans-serif; text-align: center; text-shadow: none;";
var text url =
URLRoot() & "db/" & Dbid() & "?a=API_editRecord&rid=" & [Record ID#] &
"&apptoken=TOKEN" &
"&_fid_49=" & URLEncode("Appointment Approved")
& "&rdr="&URLEncode("QuickBase CRM URL");
Field ID 49 is the status field
------------------------------
Jessica Stevens
------------------------------