Hi,
I have a flow which imports contact information from Dynamics 365 to Salesforce. Street addresses in Dynamics 365 consists of 3 lines, but in Salesforce, there is only 1. So I would need to concatenate the 3 lines from CRM before inserting the contact to Salesforce.
I tried to use the "concat" expression, but either I get an expression error or it doesn't concatenate properly. I tried the following:
concat(items('Apply_to_each_record_from_CRM')?['address1_line1'],' ', items('Apply_to_each_record_from_CRM')?['address1_line2'],' ', items('Apply_to_each_record_from_CRM')?['address1_line3'] )
concat(triggerBody()?['address1_line1'],' ', triggerBody()?['address1_line2'],' ', triggerBody()?['address1_line3'] )
concat(parameters('address1_line1'),' ', parameters('address1_line2'),' ', parameters('address1_line3') )
concat(item()?['address1_line1'],' ', item()?['address1_line2'],' ', item()?['address1_line3'] )
concat(body('Apply_to_each_record_from_CRM')?['address1_line1'],' ', body('Apply_to_each_record_from_CRM')?['address1_line2'],' ', body('Apply_to_each_record_from_CRM')?['address1_line3'] )
Below is the screenshot of my Create record (to Salesforce). I wanted to use the expression in the Mailing Street field.

I was wondering what is the correct format of the expression should I use?
Sincerely,
Jason