Skip to main content
Question

Writing to a logged text field via API over a certain number of logged entries

  • January 12, 2019
  • 0 replies
  • 46 views

This question is more for solving my curiosity than it is a request for alternate solutions.  I was using a formula rich text field functioning as a button to make an API_EditRecord call to update a logged text field.  This worked well until the logged field accumulated more than 7 or 8 entries.  Once the field exceeded that number of entries, the request resulting from the button click would sit in the queue pending for about 20 seconds before it finished executing and redirected.  Does anyone happen to know why?  As soon as I wiped the log clean and tried again, it would update and redirect almost immediately.  Is there something weird about how the logged edit fields work?  Thanks in advance if anyone has any idea how that functions.  
This topic has been closed for replies.

Forum|alt.badge.img+17
  • Community Moderator
  • January 15, 2019
Hi Christine,

Out of curiosity when you are writing the data over via the API_EditRecord and writing into the log edit field are those logs bringing over a large amount of data or only a few lines of text? I have worked with users in the past to update log edit fields from another entry field via Actions, Automations, and buttons and not run into this same slowdown but some imports/edits can be impacted by a large amount of data being passed or high traffic during the time the method was used.