cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Split String and pass as two different value in Mails

Hi,

 

I am getting a value from Sharepoint which is like as follows DRU001;DRU002;

Now I need to split these and need to send a mail as follows

Response ID: DRU001

 

Response ID DRU002

 

How to achieve this please help me out with a solution 

 

Thanks in Adavance 

6 REPLIES 6
Sundeep_Malik
Multi Super User
Multi Super User

Hey @Anonymous 

Here is how your flow will look like:

Sundeep_Malik_0-1664291105014.png

Split Formula:

split(outputs('Compose'),';')
Item:
item()

 

Anonymous
Not applicable

@Sundeep_Malik  Thanks for you guidance

Using appending to array string i was able to get the values but its looks as follows

Approval Due Date: Response ID E00117.DRU00139.002.001 Event Name: Electric Incident-1908310-832-OAKLAND-adfsfsaf Data Request Descrption: Incident Reports-Electric Incident-1908310-832-OAKLAND-adfsfsaf DRU Question: 20 Day Report Approval Due Date: Response ID E00116.DRU00138.001.002 Event Name: Self-Report Data Request Descrption: Testing the header flow DRU Question: Testing Header flow

 

Required Output:

Approval Due Date:

Response ID E00117.DRU00139.002.001

Event Name: Electric Incident-1908310-832-OAKLAND-adfsfsaf

Data Request Descrption: Incident Reports-Electric Incident-1908310-832-OAKLAND-adfsfsaf 

DRU Question: 20 Day Report 

 

 

Approval Due Date: 

Response ID E00116.DRU00138.001.002 

Event Name: Self-Report Data Request

Descrption: Testing the header flow

DRU Question: Testing Header flow

 

I need the output as above can you guide how to achieve this 

Sundeep_Malik
Multi Super User
Multi Super User

@Anonymous 

By appending it with string. You have made a deadly combination.

Can you provide the value before appending or before splitting? I might be able to help

Anonymous
Not applicable

thumbnail_image (12).png

Sundeep_Malik
Multi Super User
Multi Super User

@Anonymous 

Sorry for the late reply. Had slept, didnt sleep from last two days. Now feeling good.

Do something like this:

Make a empty line string variable.

Add it after each expression above in the append to string action.

Sundeep_Malik_0-1664318974727.png

Something like the above screenshot.

Anonymous
Not applicable

No issues Take care

I tried the same already still it doesn't work 

Helpful resources

Announcements

Check out the Copilot Studio Cookbook today!

We are excited to announce our new Copilot Cookbook Gallery in the Copilot Studio Community. We can't wait for you to share your expertise and your experience!    Join us for an amazing opportunity where you'll be one of the first to contribute to the Copilot Cookbook—your ultimate guide to mastering Microsoft Copilot. Whether you're seeking inspiration or grappling with a challenge while crafting apps, you probably already know that Copilot Cookbook is your reliable assistant, offering a wealth of tips and tricks at your fingertips--and we want you to add your expertise. What can you "cook" up?   Click this link to get started: https://aka.ms/CS_Copilot_Cookbook_Gallery   Don't miss out on this exclusive opportunity to be one of the first in the Community to share your app creation journey with Copilot. We'll be announcing a Cookbook Challenge very soon and want to make sure you one of the first "cooks" in the kitchen.   Don't miss your moment--start submitting in the Copilot Cookbook Gallery today!     Thank you,  Engagement Team

Tuesday Tip | How to Report Spam in Our Community

It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   As our community family expands each week, we revisit our essential tools, tips, and tricks to ensure you’re well-versed in the community’s pulse. Keep an eye on the News & Announcements for your weekly Tuesday Tips—you never know what you may learn!   Today's Tip: How to Report Spam in Our Community We strive to maintain a professional and helpful community, and part of that effort involves keeping our platform free of spam. If you encounter a post that you believe is spam, please follow these steps to report it: Locate the Post: Find the post in question within the community.Kebab Menu: Click on the "Kebab" menu | 3 Dots, on the top right of the post.Report Inappropriate Content: Select "Report Inappropriate Content" from the menu.Submit Report: Fill out any necessary details on the form and submit your report.   Our community team will review the report and take appropriate action to ensure our community remains a valuable resource for everyone.   Thank you for helping us keep the community clean and useful!

Users online (3,842)