2
votes
Automatically update a formula field based on checkbox
Yes, it is possible.
You just need to use the IF() function to be able to make the formula do something different when a certain condition is met.
The gist of it is
If your checkbox is checked (i.e. ...
2
votes
Viewing and Updating Related Record when creating a Task
You can create a screenflow and attach it as a QuickAction in your Account (Company) object.
The advantages of these are:
You can get the Account record and check the Account Type, based on different ...
1
vote
Accepted
Querying CampaignMembers based on Lead fields
At first glance, your code is a lot more work than it needs to be. If we use Trigger.newMap instead of Trigger.new, we don't need the partners map. Consequently, we can dramatically reduce your code ...
1
vote
Flow Formula Returning Null
Answer provided by cropredy (thank you!)
DATEVALUE expects input to be yyyy-mm-dd
I was doing "yyyy-dd-mm" and just needed to flip the month and day positioning. It was returning blank on ...
1
vote
Accepted
LWC update Record field without Apex controller
You have several problems with your code.
First, you used:
@api myRecordId;
But then tried to refer to it as:
this.recordId
If this is a record-context aware component, then you must change:
@api ...
1
vote
SonKitapTarihi: execution of AfterInsert caused by: System.DmlException: Update failed. First exception on row 0; first error: MISSING_ARGUMENT, Id no
The simple explanation for your error is that in yeniList, you're adding zyrtci but you never set zyrtci.Id or query for it. DML update requires that the records have the Id populated (or a field ...
1
vote
Accepted
CANNOT_REPARENT_RECORD: Before you can make this contact private, you must remove its relationships to other accounts
The error message "CANNOT_REPARENT_RECORD: Before you can make this contact private, you must remove its relationships to other accounts" occurs when you are trying to update a Contact ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
field-update × 439trigger × 102
workflow × 101
apex × 96
formula × 38
process-builder × 37
formula-field × 27
update × 24
visual-workflow × 22
custom-field × 16
approval-process × 14
date × 14
before-trigger × 14
custom-object × 12
batch × 11
picklist × 11
lookup × 11
datetime × 11
lightning × 10
workflowrule × 10
visualforce × 9
javascript × 9
account × 9
marketing-cloud × 8
case × 8