![]() Now onwards, w hen a business user updates the Deal Analysis Text Area (Rich) field, the Record-triggered flow will automatically store the plain text in the Deal Analysis Text field. Value: Īlmost there! Once everything looks good, click the Activate button.Enter a name in the Label field the API Name will auto-populate.Search and select the RemoveHtmlMarkup apex class from the dropdown menu.On Flow Designer, below the Yes node, click on the +icon and select the Action element.Step 4.4: Add an Action to Call Apex class to Remove HTML Markup When to Execute Outcome: If the condition requirements are met.Condition Requirements to Execute Outcome: All Conditions Are Met (AND).Under Outcome Details, enter the Label the API Name will auto-populate.Enter a name in the Label field the API Name will auto-populate.On Flow Designer, click on the +icon and select the Decision element.Optimize the Flow For Action and Related Records.Trigger Opportunity Flow When: A record is created or updated.Select the Record-Triggered Flow option, click on Create and configure the flow as follows:.Select Flows then click on the New Flow.You can get the code from my GitHub repo. Repeat the above steps and click the Test class. Copy code from GitHub and paste it into your Apex Class.In the Quick Find box, type Apex Classes.Step 3: Create an Apex class and Test class ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |