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
Amanda BorgesAmanda Borges 

Flow - Formula text with Opportunity Name

Hi guys! :)

I'm trying to create a flow that clone the opportunity for renewal.

I need a formula that identifies if in the name contains RNW. If is true, should just copy the name. If doesn't, copy the name and add RNW.

I did it like this, but doesn't function. 

User-added image

Any ideias?

Thank you :)
Zachary SingerZachary Singer
Hi Amanda,
Your formula is close, you just need to change the last part to add RNW to the name using an ampersand &, for example

IF(CONTAINS({!$OldOpportunityHeader.Name}, "RNW"), {!$OldOpportunityHeader.Name}, {!$OldOpportunityHeader.Name} & " RNW")