Questions tagged [field-update]

Field updates within Salesforce allow the user to automatically specify a field value.

Filter by
Sorted by
Tagged with
0
votes
2answers
66 views

How do I loop through all record and update a field from a lookup into a multi pick list?

The user decided the 'Program' field should allow multiple programs. So I created a new field that uses multi pick list. So now I want to loop through and copy the field 'ABC' to the multi pick list ...
1
vote
0answers
595 views

Updating a field on record detail page with Lightning button [duplicate]

I am stuck with issue in Lightning. I want to do a field update on record page on click of a button, and will be showing a message to user on successfully updation of that field. Lets say, I am ...
0
votes
1answer
128 views

SOQL limits in andFinally TriggerHandler

1)Is it a good idea to keep a list or map of ids of the affected records and passing to gateway class method called in andFinally which runs a SOQL if necessary (like for child records)? 2)If this is ...
0
votes
2answers
183 views

Javascript button not updating field

I am trying to write the following code in a javascript button of case object {!REQUIRESCRIPT("/soap/ajax/25.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/10.0/apex.js")} var caseObject = new ...
0
votes
2answers
986 views

Update field values based on picklist change

I am trying to achieve the following functionality using process builder but I am not getting it exactly what I need: I have one custom field in opportunity called order(Text) and standard field ...
0
votes
2answers
853 views

Process Builder error : The element has an invalid reference

I have a process builder on Account that updates values of its child record from Address object. Field Zip in address need to be updated with concatenate value of Zip_vod__c + '_xxx'. Formula : [...
0
votes
1answer
40 views

Change lookup field value to current user's name upon opening record

I have a user lookup field which I want to be filled with the name of the currently logged-in user upon opening the record. Is there any way to do this?
-1
votes
1answer
289 views

Will formula fields update on api / bulk api update?

We're trying to figure out whether we should expect formula fields to behave as if the object in which those fields exist has been manually user-modified when we're updating records in that object, ...
0
votes
1answer
370 views

Workflow or Flow for Auto Populate

Can a selective email address filtered as criteria set upon email to case submission, to update Picklist automatically determining which picklist A,B,C to reflect email address CAR@EMAIL for A, BUS@...
0
votes
0answers
155 views

Prevent duplicate records declaratively

Am trying to prevent users from creating duplicate records based on Date and Hour combination from Date/Time field.Since we cannot refer date/time field in Matching rule,so I had move this (Date+Hour)...
0
votes
1answer
334 views

Truncate first five digits of postal zip codes

On the Account object I have a field called Postal Zip Code. If Postal Zip Code is more than 5 characters long (e.g. "12345678"), I have to truncate to 5 characters (e.g. "12345"). How can I do so ...
0
votes
0answers
403 views

how to store multiple date values in custom field using salesforce FORMULA field date type

Hi i need to insert multiple Dates in custom filed.. using formula Only ... how to insert the multiple dates like 1/1/2017;2/1/2017;3/1/2017 ... like that can you please give any suggestions to me... ...
0
votes
1answer
103 views

Populating Opportunity custom field with MULTIPLE ProductOpp field values

Using the solution on SF StackExchange here I have created a Workflow Rule and Field Update to show the value of a custom field present on the OppProduct Level in Opportunity Level (as that field ...
3
votes
1answer
460 views

priorvalue is blank or --None— update internal status “In-progress” workflow

created workflow criteria is created and everytime edited but it's not working if priorvalue of internal status is blank or --None-- and record is not isNew() then update internal status picklist is "...
0
votes
1answer
23 views

leadsource is “web” then update phone number field 123 using workflow

I want to do if LeadSource Field on Contact Object has "web" value then update phone field with 123 using workflow but its given error that Formula result is data type (Number), incompatible with ...
3
votes
0answers
266 views

Is there a VLOOKUP function available for updating fields in a record?

Is there a non-apex way of updating a Boolean field on a record based on a comparison of values of a different field of all (or a filtered selection) the records in the table (object) to which the ...
1
vote
1answer
470 views

Cumulative Total for a Field

I need a the field to reflect a cumulative total time of all appointments on a field on a record. Throughout the negotiation of a contract, represented by a record for the Negotiated_Contract__c ...
3
votes
3answers
2k views

Workflow Field Update formula function TEXT() using picklist API values, not label values

I have custom picklist field (Alpha_Type__c) with the following sorts of values: Option: A B C - XY the api name for this is: a_b_c_x_y A B C D the api name for this is: a_b_c_d A B C \ ...
0
votes
0answers
134 views

error while updating records of Lead

seeking help here. I have a sheet to update on Lead where i have State Code and Country Code fields to update. But while updating from Dataloader i am getting error as "invalid cross reference id". ...
1
vote
1answer
461 views

How to run a visual flow with screens(Flow Type : Flow) on change of record?

We have a flow with screen element which involves user input in it. This flow should be executed when user changes Opportunity stage to ‘Closed Won’ or ‘Closed Lost’. We don't want to use custom ...
3
votes
4answers
792 views

How to set a value multiple times within same update

I have a batch process that updates a bunch of currency fields on a parent record based on the month of a child record. It works great and runs every hour to find new records and update the parent ...
0
votes
0answers
47 views

Updating this one particular field is breaking my code, no idea why

I have a scheduled class to check every day if any orders have a balance due and the late date was reached, to add interest. I have a payment due date, but then I also have an overdue date that's by ...
1
vote
2answers
512 views

Child Record Not Updating When Parent is Updated

Below apex class and apex trigger must be able to update child records every time its parent record is updated. Apex class holds the logic itself, while apex trigger calls the apex class. There is no ...
0
votes
1answer
53 views

Text Field Update not Populating Case Description Long Text Field

I'm trying to create a Field Update Workflow where once the new case is generated, the description of the case will include text that shows: First item Second item Third item Fourth item
0
votes
2answers
63 views

Update Record in before trigger

I have one trigger on Opportunity which will copy the value of some Account field into opportunity field. All I'm doing in before trigger because I also have validation rule on opportunity which will ...
0
votes
1answer
384 views

Conditional Field Update Apex Trigger [closed]

Here's the situation: We purchased software that pushes advertising clicks to a custom field called "Adroll Clicks", however the vendor does this on a company level, but not an individual level. ...
1
vote
2answers
1k views

Lightning: How to make a quick action that updates a status on a record

I'm really at a loss. I think it should be dead-easy to create a button that updates a status, but I can't work it out. On a custom record page I want a Quick Action button. When the user presses ...
3
votes
2answers
116 views

Workflow Rule Execution criteria

I have 4 WF rule which are firing on different criteria. The criteria is like 1 WF will fire on Stage1, 2nd WF will fire on Stage2, 3rd WF will fire on Stage3 4th WF will fire on Stage4. 1st WF ...
0
votes
1answer
47 views

Help on Trigger to Insert a record when a related object is updated, and update the record with values from it

I am trying to create a trigger that creates a new audit record and updates it with values based on input from a form. (the form updates the Container_answer object records which are tied to ...
0
votes
1answer
208 views

Cannot find Account Name Field in Dataloader.io while trying to Update Opportunity Account Name

I cannot locate the Account Name field within DataLoader.io in order to change the account of about 270 opportunities: Any advice much appreciated.
0
votes
1answer
2k views

Update a Checkbox Field Using Apex Trigger

How can I update a checkbox from false to true based on a condition using apex trigger? I have three custom objects: ObjectA__c, ObjectB__c, and ObjectC__c And here are some of fields: ObjectA__c (...
0
votes
1answer
92 views

How to remove reference link (__r field) between objects?

I am trying to find a way to unlink reference between two objects. We have an object of Academic_Institution__c and Previous_Academic_Institution__c. If "CEEB_Code__c" exist Academic Institurion is ...
1
vote
2answers
308 views

Updating an Account with Current Timestamp

I have created several custom fields for our Accounts in Salesforce. One is called "Date and Time Latest Login". Each Account also has an ID (in Salesforce) and an "External ID" which references our ...
0
votes
1answer
551 views

why the trigger is executing only once after workflow is fired?

I have a seen a illustration on execution of trigger in an execution context. Such that Trigger A is executed which in turn Trigger B is executed followed by the execution of an workflow field update ...
0
votes
1answer
17 views

Field update - Text to Date

I'm struggling with a forumla, I know it has been answered a million times before but I cannot seem to get it to work. I have an opportunity name in the format of 0003000000 - 01/12/16 - Other Text ...
1
vote
1answer
4k views

Process Builder Update Parent (lookup) Record Field

I simply want to update a field via a Lookup. Object Customer Master has a lookup to standard object Account (CM is a related list on the Account layouts as well). I have a custom Lookup field on ...
0
votes
2answers
392 views

Auto Populating the Account Name on Child Object

I created custom object called as Project, which is child object for Account and lookup with opportunity. Project object is related list for Account and Opportunity. When I am going to create a new ...
0
votes
0answers
283 views

Approval process that does field update will not start the process builder: Looking for alternative

As listed in other posts, I see many people have this issue, where an approval process is to do a field update and then expect that update to start a flow. I'm in the same boat. Are there any ...
2
votes
2answers
779 views

Sum of fields in a field update when some of the fields are null

I'm using a workflow rule to populate a field with the sum of some fields. All of the fields are in the currency type. Field__c + Field1__c + Field2__c It works perfectly if the values are ...
0
votes
1answer
240 views

Update Contact in Journey Builder canvas

We want to update contact in our Journey. The data extension A enters the journey and it has "UNIQ_ID" column linked to Contact Key in Data designer. In the journey, we want to update "Flag" column in ...
0
votes
2answers
406 views

Deploying a field update to a queue

When deploying via a change set a Workflow rule that has a field update that Sets the OwnerId to a Queue, I get an error in the destination org: 'Illegal field: OwnerId for lookup value type:Queue'. ...
1
vote
1answer
517 views

Phone number field formatting

In contact object, I have phone number field which is type of Phone. The current value is 8767876541. The problem is it is not displaying in correct format. The format which I am looking out is (876)...
0
votes
1answer
4k views

Field Missing / Field Not Showing Process Builder Create a Record

I am trying to create a record via Process Builder, and set the value for a custom field of type text, but the custom field doesn't show up in the list of fields that I can set. How can I get this ...
1
vote
1answer
4k views

Will Salesforce process builder reevaluate every time a change is made on field X?

I have a custom account lookup field "account_reference__c" and a date field "reference_date__c", any time the "account_reference__c" changes a workflow updates the "reference_date__c" with TODAY. I ...
1
vote
1answer
2k views

Workflow Rule (Ischanged) - Field is not updated when the record is created

I've created a workflow rule that will update a field when a record is created or edit. However, the workflow rule is not updating the field when the record is created, just when the record is updated....
0
votes
1answer
80 views

help with trigger business logic

Eligibility date should default to 3 weeks prior to start date if start date is provided. Prevent edits to the eligibility date if a user specifies an eligibility date. Here's what I got for ...
0
votes
1answer
486 views

Case insensitive substitution

I have a text field that is updated using a workflow rule when created or edited. I would like to substitute a substring. For now, I have the following field update action: IF( CONTAINS(LOWER(...
0
votes
0answers
16 views

Update a field once the date/time set on a field =NOW

I have a trigger that will set a field_A__c's value by adding the date_A__c (when the case is set to 'In Progress') and minute_A__c (minutes to work on the case). Then field_A__c's will be a date/time ...
3
votes
1answer
83 views

Update check box using workflow

I have created a workflow and I need to update a check box based on other field If checkbox1------>is true then need to update chekbox2 as true If checkbox1 ------> is false then need to update ...
0
votes
1answer
63 views

Move contents of one set of fields to another set of fields

On my Opportunity object: I have created six custom fields AVSFQB__Generate_Object__c AVSFQB__Quickbooks_Id__c AVSFQB__QuickBooks_ItemType__c Sample_Generate__c Sample_Quickbooks_ID__c ...