Questions tagged [action]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
3k views

The element in your flow has validation errors - posting to chatter with text template

I'm trying to post to chatter via flow mentioning a user. However it is returning the error: The element in your flow has validation errors I have the following in my text template: @[{$User.Id}] ...
0 votes
0 answers
48 views

Auto-Archive Published Articles using Flow

TLDR - What Knowledge object and Id field should I be using for the Knowledge Article Action: Archive online knowledge articles? Posted on Trailhead here, but wasn't able to get my flow working. I've ...
0 votes
1 answer
41 views

Unable to find action on Lightning Component

This is my code but I have the Error // DynamicRelatedContactListController.apxc public with sharing class DynamicRelatedContactListController { @AuraEnabled public static List<Contact> ...
4 votes
2 answers
1k views

How to display a single quote in success message of Lightning Action?

I'm trying to use a single quote in success message of Account record action. The system add's an escape character in front of it. Escape character is shown in the success message. Any idea how to ...
5 votes
2 answers
5k views

how to access the save button in a modal when implementing the force:lightningQuickAction

I am actually creating a component that will implement the force:lightningQuickAction so that my component open in a modal window from the action button.I would like to capture the event where the ...
1 vote
2 answers
1k views

Is there any way to override or hide the standard "Import" list view button in Lightning?

In Lightning, the Recently Viewed list view for a custom object has New and Import buttons by default: I would like to override or hide the Import button since our custom object has a custom import ...
0 votes
1 answer
295 views

Flow Action Issus

in my flow, I use an action to send notification, I have an action to send notification with bell icon, I receive the notification but in HTML form as the image shows, how can I do it? to resolve ? My ...
4 votes
1 answer
1k views

Custom 'new' button to create child record and set saveURL to parent

What i want to do should be easy to do via URL hack, but looking at legitimate ways of doing this. I want to create a child invoice line item from parent invoice and set the save url to the parent ...
0 votes
1 answer
2k views

Reload Modal Panel of Quick Action (Lightning Component)

I have a Quick Action with a lightning component, it's a form for the creation of records. I make a button (Save & New) in the modal panel, but i don't know how to reload the entire form or clear ...
0 votes
0 answers
104 views

Change color Action in Highlight Panel

I have created an action on a custom object and added it to the Highlights Panel for its record page. Is there a way to change the color of the Action button itself? In an LWC I've been able to do ...
1 vote
1 answer
1k views

Dynamic action with filter based on Role is not visible on record page

I am stuck in one thing. I have added one dynamic action on record page with filter based on Role. When logging in with end user with this Role, I am still not able to see this action on my record ...
0 votes
0 answers
52 views

Autopopulate a field from a Detail Button URL

I have a Detail Page Button with a URL. It resides on the Case object and creates a custom object record. On the custom object, there is a lookup to the case object. I would like the CaseNumber to ...
0 votes
0 answers
37 views

Cant edit "Related To" field on task action

When creating a task on a person account, the Related To field can't be edited for some reason I see that in the New Task action I made the Relationship Field is set to "Related To" and I ...
0 votes
0 answers
23 views

Dynamically pass Action attribute to CommandButton in Visualforce Page

I am trying to assign action attribute dynamically to my commandbutton in Visualforce page. BUt, it gives an error. Below is sample code. VF page: <apex:commandbutton action={!mydynamicAction} />...
1 vote
0 answers
2k views

Error when send email from Flow?

I create the screenflow that calling Send Email Action this flow will triggered from Action Button that I put on record page. when I activate this flow and test to sent an email from record page I got ...
3 votes
3 answers
10k views

New Task Action missing in Lightning Experience

I've already added the new task in the Salesforce1 and Lightning Experience actions but when viewing it in the detail page, there's no new task. May I know why is that? This is the screenshot of the ...
0 votes
0 answers
107 views

Can we invoke setvalues action in omniscript from LWC component?

I am trying to invoke set values action in an omni script from an LWC component which is also embedded inside the same omni script.
-1 votes
1 answer
67 views

How to make label and value inline in action layout?

I am using an action layout to display fields here. But I am unable to make fields and its values inline. Can someone help me out?
0 votes
0 answers
105 views

Row Action List is not displaying next to action button

I am using a Lightning-datatable with an action column. When I place the LWC at the end of the Record Page and I click the action button to display the Dropdown menu, the list is not shown next to the ...
0 votes
1 answer
439 views

Can't get External Service actions to work in Flow

So I'm trying to call an external API using a Flow, so I added everything I needed to get the connection set: auth provider, named credential and external service. So far so good, connection is ...
0 votes
1 answer
669 views

Required fields for Messaging Notification action in the flow

I have a flow in which I send an SMS and use the Messaging Notification action for that. I pass all required fields to the action but in the Messaging Templates Error Log tab I see the error: You’re ...
0 votes
1 answer
423 views

Output values not available in Apex Action when I run a Flow

I am writing a sample class to split a fields into several fields depending on the separator character '\\|!\\|'. My problem is when I ran the flow, it's not possible to me to retrieve the values ...
3 votes
1 answer
3k views

Dynamic Related List Not Supporting Custom Actions?

I created a new dynamic related list - single as it satisfies my requirements which includes renaming my related list and filtering/showing only specific records. However, my custom actions do not ...
0 votes
1 answer
343 views

How to filter by custom object field?

Please help. I want to filter fields by Status, but nothing works. What am I doing wrong? Controller: public class PositionsForJobApplications { public List<Position__c> position {get; ...
1 vote
0 answers
93 views

Can I config number of action in boxcar request?

I created a community site. In the site I have a form with a lot of item dynamic (item stored in database: type (input, radio, checkbox,...), label, max length,...) When I submit form, cause of number ...
1 vote
0 answers
386 views

open lightning action in subtab

I'm actually using the service console, and I saw that if I set my account as the main tab, I can open an account, and each related record that i open , will open as subtabs. This is very good, fine. ...
1 vote
1 answer
454 views

can standard action component fire an event on a LWC?

I have an action on my record page to update a field. Field tracking is enabled for that field. I developed a LWC that renders the history records for that field and it is placed in the same record ...
-3 votes
1 answer
923 views

Need to populate Account Name when Flow runs from Account Detail Action Button for a task [closed]

I have a task screen flow that runs just fine from task action button and assigns account. I need to have an Action button to run this flow from the Account details page header and still have it ...
2 votes
0 answers
744 views

Filtering an Action button on a record based on active User

I am trying to display a Create a Record button only if the user looking at the page is the same user in a related user field. I currently have a formula checkbox field that is true if the active user ...
0 votes
1 answer
319 views

Are there are standard actions for ApexPages.Action class in Visualforce Page?

I am building logic for Quick Action on List View represented as Visualforce Page. And after some logic proceed I need to go back to the List View. I have found the next piece of code which does it : ...
4 votes
2 answers
5k views

How to make a Lightning modal window pop-up with a quick action?

I am new to LWC development, but I do know my Apex code and VF pages. What I am looking for: clicking a quick action on a standard Lightning record page should open a modal Lightning window (which I ...
1 vote
1 answer
870 views

Flow Currency Decimal Places being dropped when passed to Apex Class

My flow has a screen where the users enters a value in a currency field that has 2 decimal places and that value gets passed to a variable in an Apex Action within the flow. For some reason, when I ...
1 vote
2 answers
2k views

Schedule action in process builder not working

I have a requirement where I need to send an email to contact 1 hour after the created date but for some reason it is not working. But it works perfectly fine when I try to add it as immediate action....
1 vote
1 answer
410 views

Highlights Panel never shows action icons?

I want to check if I'm missing something or if the "Highlights Panel" component that allows custom actions to be added just does not (by design) show custom action icons. I assume the latter;...
5 votes
0 answers
215 views

Visualforce Action Button on Lightning Record Page leaves an entry in browser history causing re-execution. Can this be prevented?

(NOT SURE, BUT THIS ISSUE MIGHT BE A SALESFORCE BUG OR AT LEAST AN INCONSISTENCY) I have defined an Action of type "Custom Visualforce" like this The button for this Action is "◈ Clone&...
9 votes
4 answers
8k views

Lightning New Case action override

I have action override on New Case button which runs our custom component. As you know, we can create a new Case from different places in org, e.g. from related lists. When creating a Case from ...
1 vote
0 answers
480 views

SF FLOW - Remove duplicated Opportunity records from Opportunity Collection using Apex Action

I am currently working on a flow in Salesforce Lightning using the Flow Builder and I would like to remove duplicates from an Opportunity collection before updating it. In order to do so I created the ...
0 votes
0 answers
269 views

Is it possible to attach standard actions like 'Sharing' and 'Change Owner' to custom buttons when creating a custom Record Page in LWC?

Is it possible to attach standard actions like 'Sharing' and 'Change Owner' to custom buttons when creating a custom Record Page in LWC? For 'edit' and 'clone' I'm using NavigationMixin, but what can ...
0 votes
1 answer
543 views

Standard Actions in LWC

Who can tell me if it is possible to attach standard actions like edit, clone, delete to custom buttons when creating a custom Record Page in LWC?
1 vote
0 answers
358 views

Buttons, Links, and Actions not being applied to Community (since Digital Experience rename - 1/13/2021)

We have an override of our 'Edit' Action on the Case object. In the past, when using the 'Edit' Action, regardless of whether you were logged into the community or not, it would apply our override ...
1 vote
1 answer
682 views

Process.Plugin to Invocable Method in the Apex Classes

We are currently using the Apex Class with Process.Plugin that is refered here in the article https://developer.salesforce.com/blogs/developer-relations/2012/03/visual-workflow-converting-leads-with-...
1 vote
1 answer
5k views

Why are Lightning Actions for Case Object showing in Feed?

I'm trying to create a button for a case detail page. However I can't get anything to show in the highlights panel at the top. I've created a new page layout for Case that isn't feed tracked but it ...
0 votes
3 answers
3k views

Flow wrapped in a lightning component used as a Global Action Button not closing flow screen

I adjust my flow and it does work where a case is created and it redirects to a newly created case with no other screen works when i add the lightning component to my lightning home page layout. But,...
3 votes
1 answer
5k views

Email action not showing on my lightning layout

I added my standard email action to my page layout as shown here : But it is not showing on my chatter component on my case lightning page : I know that for case, lightning component action or ...
2 votes
1 answer
411 views

How do I add customer attribute personalization to my online optimization asset markup in Interaction Studio?

I have been trying to work out a way of reading the customer attributes for an individual in order to create a personalized message. I'm assuming I'm looking to tdo this by adding some syntax in the ...
0 votes
1 answer
23 views

Visualforce behaviour when expections are caught

I made a really weird discovery and i wanna ask if this is true and how to handle those situations. If a VIsualforce page invokes an Apex method via commandButton or acionFunction, if an exception was ...
0 votes
1 answer
2k views

run quick action from batch

I am new to Apex but thanks to the community I learn quickly. I have been looking for a solution to my problem for a few days that is why I am talking to you. i want to run a custom quick action in &...
0 votes
1 answer
6k views

Dynamic row actions in Data table using LWC

Can someone help me how to code a dynamic row actions in data table using LWC? I want to publish the book if the field value is unpublished and I also have the choice to unpublished the book if the ...
1 vote
2 answers
1k views

Automatically Publish Knowledge Article

I am trying to implement a requirement where few knowledge articles based on the priority(custom picklist) will be auto published immediately they are getting created. I am currently doing this with ...
1 vote
0 answers
59 views

What is `$Action.Custom_Object__c.CreateFromLookup`?

When creating a custom button, I see an $Action value I can't find documentation on - $Action.Custom_Object__c.CreateFromLookup. It's not on the list of Valid Values for the $Action Global Variable. ...