function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CooldayCoolday 

Using a Record Triggered flow can we update a field on click of a Quick Action button ?

Using a Record Triggered flow can we update a field on click of a Quick Action button ?
If Not , Then how is it possibile?
Best Answer chosen by Coolday
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

The Record Trigger flow will only invoke if any record is created or updated. If you want to call a flow from QuickAction button you need to create autolaunched flow and use that on button.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,

All Answers

Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

The Record Trigger flow will only invoke if any record is created or updated. If you want to call a flow from QuickAction button you need to create autolaunched flow and use that on button.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
This was selected as the best answer
CooldayCoolday
Hi Sai Praveen,

I have created the button and autolauched flow and it is working as expected but the only issue is I am getting navigated to flow finished screen instead of detail page of the record.

Thanks 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

You can use retURL in the button url as in below link.

https://salesforce-flowsome.com/how-to-redirect-users-returl/#returl

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
CooldayCoolday
Hi Sai Praveen,

It works but I can still see "Your flow finished screen" for a sec
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

yes this is expected as finish screen will come and it will redirect to the record page. I dont hope we have other option for the same.

If this solution helps, Please mark it as best answer.

Thanks,