when new email arrives with below subject format
Examples:
i)subject-Correct is what i mean is that it should have the below dynamic values country\customer\contractnumber\Type\Region\department in the email subject seperated by \
Email Template //Sample
Subject: Country: Kenya\Customer: client1\Contract Number: 43291\Type: Renewed\Region: Washington\Department: Sharepoint
ii)subject-incorrect format is what i mean is that which is not having these country,customer,contractnumber,Type,Region,department with proper format seperated by \ or it may contains different subject other than this above format so something different subject texts
i need to check a condition if the subject is in correct or incorrect format so how to put a condition for the above scenario for correct or incorrect.
if correct then i have to send email and if not correct then i export email and create file in document library
Can you pls share the expression of your above flow steps.thanks
1. Does the Subject Have { } in it?
Below is my actual email subject
2. This looks to be JSON that got turned into a String to be the subject?
Im using Json in the compose and its turned into string
3. Meaning that the \ actually now exists in the string, where it didn't in the JSON, is that correct?
No, Im asking how to check condition for my subject in the below format, so i just told json for overall idea etc. that's it and i need to understand how to check condition for the below subject under the scenarios
Scenario for checking condition examples
i)subject-Correct is what i mean is that it should have the below dynamic values country\customer\contractnumber\Type\Region\department in the email subject separated by \
Email Template //Sample
Subject: Country: Kenya\Customer: client1\Contract Number: 43291\Type: Renewed\Region: Washington\Department: Sharepoint
ii)subject-incorrect format is what i mean is that which is not having these country,customer,contractnumber,Type,Region,department with proper format separated by \ or it may contains different subject other than this above format so something different subject texts
Hi @Veblitz
You have more than 1 of these email asks, and I love that you are separating all your questions, truly I do, its super nice.
Only if you put multiple email ones out in different places, its just causing confusing as to what you really need.
Questions:
1. Does the Subject Have { } in it?
2. This looks to be JSON that got turned into a String to be the subject?
3. Meaning that the \ actually now exists in the string, where it didn't in the JSON, is that correct?
On your other thread, you wanted to know how to parse (a part of the email), when a piece is missing and its just spaces.
How do these 2 relate? Also please make sure to mark when answered, I don't keep answering if people don't do that, its not fair to use us for help and not at least recognize it.
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492