I have posted a related question here but I am trying to launch Field Maps from an email. I have an Arcade expression in the email body that works when I preview it with an existing job, passing the JobName to the URL scheme.
'<a href="https://fieldmaps.arcgis.app/?referenceContext=search&itemID=b1faf7d5e8514e56b793759b608847da&search=' + JobName($job) + '">Open in Field Maps</a>
However, after I save it and try to create a new job in Workflow Manager, this is what the expression looks like after saving, and the email is no longer formatted the way it needs to be to pass the parameter into the URL. Are there limitations to a URL scheme when working with HTML?
'<a href="https://fieldmaps.arcgis.app/?referenceContext=search&itemID=b1faf7d5e8514e56b793759b608847da&search='%20+%20JobName%28$Job%29%20+%20'">Open in Field Maps</a>'