Questions tagged [action]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 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
17 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} />...
0 votes
0 answers
365 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 ...
  • 109
0 votes
0 answers
57 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
33 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?
  • 1
0 votes
0 answers
73 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
211 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
176 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 ...
1 vote
1 answer
1k 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 ...
  • 665
0 votes
0 answers
155 views

Mobile and lightning button not visible

I have two dispatcher profiles, one is in the dev sandbox, other one is in INT sandbox. In dev sandbox, I have added Mobile and lighting buttons on the page layout and deployed to Int sandbox. Mobile ...
0 votes
1 answer
196 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; ...
0 votes
0 answers
315 views

Aura Component-How Multiple actions in DoInit function

I'm working with aura component, I have 2 actions and 2 custom label in my DoInit function (Controller.js file). How can I call the 2 actions and 2 custom label in same DoInit in my cmp file? Here I ...
1 vote
0 answers
60 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
1 answer
309 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 ...
0 votes
1 answer
123 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 ...
0 votes
0 answers
83 views

Overrode New and Edit with an Aura Component, the Modal shows up but the background disappears

I overrode the New and Edit with an Aura Component, the Modal shows up but the background disappears. What is the correct way to call a lightning aura component from the Tab (i.e. when clicking New)?
  • 444
-3 votes
1 answer
604 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 ...
  • 1
2 votes
0 answers
477 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
211 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 : ...
0 votes
2 answers
858 views

No apex action available for class.method though profile has access to class

I have a custom lwc that has a call to a method that works fine for every profile except for one that has access to the class (I've checked it multiple times). It keeps on displaying the error "...
  • 823
1 vote
1 answer
616 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 ...
  • 51
1 vote
1 answer
223 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;...
  • 133k
0 votes
1 answer
479 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 ...
  • 1
7 votes
0 answers
171 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&...
  • 34k
1 vote
0 answers
393 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 ...
  • 23
0 votes
1 answer
2k 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
239 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
359 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?
0 votes
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 ...
  • 37
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....
  • 107
1 vote
1 answer
525 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-...
  • 659
1 vote
0 answers
312 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 ...
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 ...
  • 35
0 votes
1 answer
1k 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 &...
1 vote
0 answers
49 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. ...
0 votes
1 answer
5k 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 ...
2 votes
1 answer
671 views

How to call Queueable apex method from Visualforce Page commandButton?

Right now if I call the action button without Queueable Apex, from all the parameters I get from the Visualforce page and then perform action on the backend, due to the Apex Triggers I always will get ...
  • 1,175
0 votes
3 answers
2k 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,...
  • 21
1 vote
1 answer
1k views

Missing Apex Action (legacy) in environment - unable to refer the same on flow

I have a class implementing Process.plugin interface and being used on an existing flow. Whenever I try to make any changes on the flow and save I get the We can't find the Apex callout for class . It ...
  • 545
0 votes
1 answer
2k views

Standard Lead Convert Action on custom Lightning Component

Is there a way to call the existing standard action of Lead Convert inside a custom lighting component? I need to show a modal with some validations and if it seems correct by the user, click inside ...
  • 5
0 votes
1 answer
2k views

How to run multiple actions in parallel in a flow

It seems that a flow is designed to run linearly but I would like to create a flow using the flow builder that runs multiple actions in parallel. Is this possible and if not, is there a good ...
  • 305
1 vote
2 answers
946 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,237
1 vote
0 answers
99 views

Translate Flow Label

we are using Flows in the Actions & Recommendation Section on the Leads Object. My problem is: We can translate the most content of this flow, but NOT the label. But this label is displayed in the ...
4 votes
2 answers
4k 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 ...
0 votes
1 answer
1k views

"Create Task" quick action hidden on Lightning page

Anyone have experience with quick actions that won’t show up on a Lightning page? I’ve got one that creates a task. The user’s profile has access to the action’s record type and edit access to the ...
1 vote
0 answers
46 views

Find column from event was fired

experts! I have LWC data table populated with data. One or more columns contain Button element. I want to show some 'master-detail' information by clicking this button. I tried to handle onRowAction ...
2 votes
0 answers
46 views

'Create a Record' Action Navigation

Scenario: I currently have an Action associated with the Account object that creates a new Opportunity, with fields mapped to that new Opportunity, from the Account where the user clicks the Action. ...
  • 425
0 votes
1 answer
186 views

Use Flow and Action (Create a Record) to Conditionally Create Opportunity From Account

Scenario - I currently have an Action that can be clicked on the Account page to create a pre-populated Opportunity. Now I want to use Flow (specifically a decision), to build a Flow Button (Button ...
  • 425
1 vote
1 answer
674 views

While offline in the Field Service Lightning mobile app, how can I determine if a record has been deleted?

When a record is deleted while offline, how can I filter it out of subsequent Get Record flow elements? Our most common use case for deleting records is removing Product Consumed records via the ...
0 votes
1 answer
145 views

Write a test class for a lightning component which overrides a standard action

I have written a Lightning Component that adds a google address lookup to a custom object. I have replaced the standard new action with a new form. How do I write a test class? I can't automate the ...
  • 13