I have an email with a subject line like this:
Alert: #103378 COMPANY NAME 103378 > Servers WIN-AP02 Patch Status v2\nFailed
In my flow :
Receive email -> HTML to text for subject -> Compose with a split
split(outputs('HTML_naar_tekst')?['body'], '')[0]
But this gives me the whole line and i just like to have the number after the # , zo in this case 103378. How do I use split in this case?
Solved! Go to Solution.
Hi @YasmineH
Please find the attachment.
I was just passed in variable in your case pass in compose dynamic value as html as text output.
Output:-
Regards
Ahammad Riyaz
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Try this:
split(split(outputs('HTML_naar_tekst')?['body'], '#')[1],' ')[0]
@Ahammad_Riyaz it's a company number from our CRM. So I like to distract this number so I can re-use it as a new variable names "CompanyNumber"
Hi @YasmineH
Please find the attachment.
I was just passed in variable in your case pass in compose dynamic value as html as text output.
Output:-
Regards
Ahammad Riyaz
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Try this:
split(split(outputs('HTML_naar_tekst')?['body'], '#')[1],' ')[0]
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
65 | |
51 | |
30 | |
29 | |
24 |