Salesforce Facts #248 | Conditionally show opportunity amount on record page using screen flow
Suppose, we want to show the amount field on Opportunity page layout only when the stage is Closed Lost. Since, Dynamic form is not GA for standard object yet, we need to go with some alternative approach.
One option is we can use screen flow and component visibility to achieve this. So first, we need to remove the amount field from the respective page layout. Then we can create a screen flow with a currency field to show the Opportunity amount and also it is open to edit. We are also using an update record element to update the opportunity amount. And this flow would be shown in the record detail page only if the opportunity stage is closed lost.
Attached are the screenshots.
Comments
Post a Comment