Questions tagged [action]
The action tag has no usage guidance.
185
questions
1
vote
1
answer
35
views
VisualForce page Action not using updated data
Situation: Sales reps use an external quoting tool. It tells them the total amount of all products (product1 and product2) and the separate amount of 1 product (product 2). Rather than them needing ...
0
votes
0
answers
110
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
53
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> ...
0
votes
0
answers
159
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 ...
0
votes
0
answers
75
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
42
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
25
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 ...
0
votes
0
answers
117
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
93
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
109
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
508
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
474
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
406
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
102
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
471
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
325
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 ...
-3
votes
1
answer
1k
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
856
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
347
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 :
...
1
vote
1
answer
947
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
1
answer
451
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;...
0
votes
1
answer
707
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 ...
5
votes
0
answers
229
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&...
1
vote
0
answers
507
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
1
answer
4k
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
277
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
602
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
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 ...
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
702
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
0
answers
365
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 ...
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 &...
1
vote
0
answers
62
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
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 ...
2
votes
1
answer
854
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 ...
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,...
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 ...
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 ...
0
votes
1
answer
3k
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 ...
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
154
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
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 ...
0
votes
1
answer
2k
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
49
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
47
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. ...
0
votes
1
answer
343
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 ...
1
vote
1
answer
904
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 ...