Skip to main content

Questions tagged [updaterecord]

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

How do I stop a record update if an API callout fails?

So I have a record, it's got a bunch of info inside of it that needs to be synced with an external database via an API call. I've built a pretty solid means of making that api call, which sends the ...
Gaskin Foreman's user avatar
0 votes
1 answer
85 views

How to UpdateRecords from UIAPI using UpdateRecords from LWC Array

How to update from updateRecord UIAPI in lWC for List of Arrays I have a lwc component which returns an Array of idString and i would need to pass it to parameter for listofRecords which would check ...
Saikumar's user avatar
  • 179
0 votes
1 answer
48 views

How to update a matching record with a flow?

So I have a Custom record Object1, that has a lookup Assigned User to a user, has an Active checkbox and Opportunity has a lookup on that object. When I create/update an instance of Object1 so that ...
SlavaBychenko CT's user avatar
0 votes
1 answer
164 views

How to update data on data extension using AMPscript?

I need help with updating existing data in a data extension. When a user clicks on an email link to change their status, I need it to be changed in the data extension. For example, if user A has ...
xhb's user avatar
  • 21
-1 votes
1 answer
113 views

Trigger to calculate Average date of closed opportunity if its closed won?

public class AverageDateOpportunityHandler { public static void afterUpdateMethod(List<Opportunity> oppList) { Integer totalDays = 0; for (Opportunity opp : oppList) { ...
SA RA's user avatar
  • 3
0 votes
1 answer
376 views

createRecord failing - need help logging error

Our org inherited a complex screen flow that uses an LWC to create and update contact records. The flow works just fine when run as sysadmin, but does not work when run as a standard user. I confirmed ...
Bill Smith's user avatar
0 votes
1 answer
148 views

Do the Update Salesforce Object Activities in Journey Builder count towards CRM’s API limit?

When using the Marketing Cloud Connector, the documentation states that: “Connected App Authentication is a secure authentication mechanism used by Marketing Cloud Connect. It removes SOAP and REST ...
Jackson Chen's user avatar
  • 4,725
1 vote
1 answer
194 views

Update Fields on Object B, 5 days after the expiration on Object A

I am pretty new with Flows builder. I am trying to create a flow that updates a picklist field and a checkbox field on Object B's record after 5 days of an expiration date on Object A's. Object A is a ...
Patrick's user avatar
  • 29
0 votes
1 answer
691 views

Edit related child records in LWC

My objective is to build a LWC component which will display the list of related opportunity records based on account and also enable users to update the stage and amount fields. I am getting the child ...
sourav guha's user avatar
0 votes
0 answers
215 views

Filter Criteria or Decision Element in a Record Triggered Flow using an Update Record element

After some advice on the best practice approach to updating records in a Flow. I have a few flows that sum values of related records and update the parent with that summed value. I have set up the ...
Simon Baird's user avatar
0 votes
0 answers
40 views

Best way to phantom mass save all contact records

I have created a flow to calculate a roll up summary on Account for all that Accounts Contacts. It works well. However, I need to save the contact record in order for the flow to work initially. I ...
Quango Bruce's user avatar
0 votes
1 answer
203 views

Uploading multiple records to a related tab for a specific ID

everyone! I've recently started working on a project and there's an issue where I'm stuck and need help with. Scenario: I've an excel sheet where there hundreds of types of House Numbers. For every ...
The Burgeoning Developer's user avatar
0 votes
0 answers
712 views

Record - trigger flow: update a field after one day of the record's creation but not possible to do with a scheduled path

I have to build a flow that runs when a record is created or updated. The context is the following: When the user creates a record in this custom object they have to choose a value from a picklist we ...
Rocio's user avatar
  • 3
0 votes
0 answers
76 views

Problem with updating DE record via SSJS

When trying to update DE record via SSJS nothing gets updated, but I don't know which step is wrong. Any help would be appreciated. Thanks in advance. Here's the SSJS Code. <script runat = "...
Sujin Hwang's user avatar
0 votes
1 answer
3k views

How do I bulk update records using simple-salesforce?

I am successfully performing a bulk query operation using simple salesforce to obtain the Id's I want to work with, but when I perform a bulk update like this: data=[{'Id': '1', 'Date__c': '12/01/2022'...
frequent user's user avatar
-2 votes
1 answer
244 views

How to get data from a public form and update the salesforce leads? [closed]

I am trying to achieve this: Create a public form Send this form to the customer via email Customer opens the form and fill in the required fields Get the required field and update the salesforce ...
Abdul Qayyum's user avatar
-1 votes
1 answer
154 views

How to populate a dynamic value from a data extension and link it to the customer record by ContactUpdate Step in JourneyBuilder

At the end of all journeys, I have a "Update Contact" activity step that captures a hardcoded values from journey branch to a data extension (to keep a track which branch customer is ...
kl2's user avatar
  • 353
0 votes
1 answer
228 views

How to make an empty DateTime field in an update trigger?

I want my DateTime field (Due_Date__c) in the custom object to be empty once I update the record. However, it's not changing to null when I update the record. public class TestObject2Class { public ...
TheRipper's user avatar
0 votes
0 answers
59 views

UpdateSingleSFObject function is not working correctly

I need help with my code snippet. It's part of an automation that first of all use a query to get the emails from contacts that I need to update in Salesforce CRM. Next to get the emails, I execute a ...
pvpolo's user avatar
  • 1
1 vote
0 answers
707 views

LWC when lightning data table save multiple rows get error

I have a lightning data table, I am able to edit 1 row and save it, but if I edit 2 rows and save, I get the error. Can you please help? Thanks in advance. HTML: <template> <...
Lei's user avatar
  • 21
0 votes
1 answer
725 views

Lightning datatable inline edit doesn't work. the below pop-up appears on clicking save

this is the message which appears on clicking save after edit
Shreyash Anarase's user avatar
1 vote
2 answers
2k views

Why won't updateRecordApi take a list of records to udpate?

This might seem very simple on the surface, but I am wondering why won't the updateRecordApi take a list of records to be updated at once? The documentation says that it would take only one record at ...
Ayush Goyal's user avatar
0 votes
1 answer
6k views

Update records using lwc

I have created an lwc component to enter the date picklist and text values and when I click save it gets recorded in the opportunity objects related fields.Right now I have created another object ...
user110290's user avatar
0 votes
1 answer
2k views

Flow Trigger when Field is changed from Certain Value

This has been tricking me up all day and I would love some assistance. I have a flow that I need to update field1 when field2 is updated. The tricky part is I only want this to happen when field2 is a ...
Mack Brooks's user avatar
1 vote
1 answer
2k views

Inline mass edit datatable Lightning Web component

I have an assignment to update a checkbox on multiple records on a lightning web component datatable. I found several examples where each record has to be clicked to edit(pencil),edit,update(save). So ...
Thomas's user avatar
  • 2,320
-1 votes
1 answer
3k views

Update failed. First exception on row 0 with id 0015g00000SAP87AAH; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, duplicate account not allowed: []

Create field called “Count of Contacts” on Account Object. When we add the Contacts for that Account then count will populate in the field on Account details page. When we delete the Contacts for that ...
nehal zade's user avatar
2 votes
1 answer
6k views

LWC - Issue Updating Record within @Wire

I am getting an error of [LWC component's @wire target property or method threw an error during value provisioning. Original error: [Invalid recordInput]] when trying to use updateRecord Below is the ...
CodeMonger's user avatar
1 vote
1 answer
591 views

Why is the data of the "lightning-record-edit-form" field recorded if the value does not pass verification?

//html <template> <section role="dialog" tabindex="-1" aria-modal="true" class="slds-modal slds-fade-in-open"> <div class=...
unique user's user avatar
2 votes
0 answers
259 views

Why Would Journey Builder Update Some Service Cloud Contacts But Not Others?

I have a serious problem with a journey which is supposed to create and/or update Sales cloud objects. The journey is supposed to do the following: Create Individual Record in Individual Object for ...
Clare's user avatar
  • 127
3 votes
1 answer
577 views

Format for specifying field value in updateRecord LDS call for mutiselect picklist in LWC js

I'm referring to the document to make use of out of box import { updateRecord, } from 'lightning/uiRecordApi'; It is straight forward to understand how to pass field values from the given example in ...
vino's user avatar
  • 153
1 vote
1 answer
1k views

Unable to edit StateCode & CountryCode in LWC lightning-record-edit-form

I currently have a set of address fields in a Lightning-record-edit-form. I am able to update all of the fields except for the StateCode & CountryCode Fields. They display as disabled. Here is the ...
Max's user avatar
  • 486
0 votes
1 answer
5k views

Address Field on LWC Lightning-record-edit-form

I am having difficulty updating the standard lead address field on a LWC in a Lightning-record-edit-form. I am able to update the other fields in the form though. Here is the HTML: <lightning-...
Max's user avatar
  • 486
0 votes
1 answer
1k views

List not updated in LWC

When I create, edit and delete the record list get not updated by default but all these functionality is working. import {LightningElement, track, wire} from 'lwc'; // importing apex class methods ...
Shalini goyal's user avatar
5 votes
7 answers
14k views

Validation rule Error message not displaying in LWC UpdateRecord toast event

I have a record which I'm updating via the UpdateRecord method from LWC, using Toast events to display success or error messages, which all works fine. What I'm not getting though, when there's a ...
Irene's user avatar
  • 1,861
0 votes
1 answer
1k views

Bypass Required Field Missing error when Bulk Updating Opportunity Stage Name to Closed Lost

When bulk updating old Opportunities to 'Closed Lost' via Data Loader, some records failed to update with following error - Required fields are missing: [Custom_PickListField__c] How can i bypass ...
GroundToCloud's user avatar
0 votes
1 answer
256 views

Is it possible to update both a record and its parent from an external system using the Rest API?

On Salesforce, we have our Opportunity sObject contains a lookup to a custom SObject BankDetails__c. We would like to create an integration from the Microsoft Azure platform which would update both ...
Brian Kessler's user avatar
3 votes
1 answer
13k views

LWC: Unable to fetch custom field through the schema

I have a LWC component in which I am trying to pull the metadata from the schema so I can use updateRecord. I've done this before for a different custom object(and it worked) but this time I am ...
Arthlete's user avatar
  • 5,019