Hi, Can you please let me know to how to convert the below xml to json in Power Automate and get the field my:empname
{
"my:myFields": {
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
"@xmlns:pc": "http://schemas.microsoft.com/office/infopath/2007/PartnerControls",
"@xmlns:dfs": "http://schemas.microsoft.com/office/infopath/2003/dataFormSolution",
"@xmlns:tns": "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
"@xmlns:s1": "http://microsoft.com/wsdl/types/",
"@xmlns:xhtml": "http://www.w3.org/1999/xhtml",
"@xmlns:http": "http://schemas.xmlsoap.org/wsdl/http/",
"@xmlns:tm": "http://microsoft.com/wsdl/mime/textMatching/",
"@xmlns:soap": "http://schemas.xmlsoap.org/wsdl/soap/",
"@xmlns:soapenc": "http://schemas.xmlsoap.org/soap/encoding/",
"@xmlns:mime": "http://schemas.xmlsoap.org/wsdl/mime/",
"@xmlns:soap12": "http://schemas.xmlsoap.org/wsdl/soap12/",
"@xmlns:wsdl": "http://schemas.xmlsoap.org/wsdl/",
"@xmlns:my": "http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-12-11T21:57:50",
"@xmlns:xd": "http://schemas.microsoft.com/office/infopath/2003",
"@xml:lang": "en-US",
"my:EmployeeInjury": {
"my:Employee_Info": {
"my:empname": "Sumanth Diana",
"my:empaddress": "23417 test Address",
"my:empstate": "Missouri",
"my:emphomephone": "636-3",
"my:empcellphone": "636-3",
"my:empworkphone": "630-3",
"my:empDOB": "03/11/1969",
"my:empage": "51",
"my:empsex": "Male",
"my:empyearsemployed": "0",
"my:empmonthsemployed": "10",
"my:emphiredate": "12/16/2019",
"my:empworktimelost": "Yes",
"my:empworkerstatus": "Hourly",
"my:emphoursworkedperday": "10",
"my:emphoursworkedperweek": "40",
"my:sundayoff": "true",
"my:mondayoff": "false",
"my:tuesdayoff": "false",
"my:wednesdayoff": "false",
"my:thursdayoff": "false",
"my:fridayoff": "true",
"my:saturdayoff": "true"
}
}
}
}

Report
All responses (
Answers (