I have a web application(http://test:2000) and a list in it having workflow associated with it. I have extended this web app to http://mysite.mycompany.com and inside the workflow I use the form_urn field as a hyperlink while sending email, so that when user click on the link they will redirect to specific form only....But when I use form_urn instead of extended web app URL it shows my old - http://test:2000 URL that shows error on click when access it outside my network...Please help!!
So the workflow is not picking up on the AAM? That seems to be a common issue:
It's far from a good solution but you could replace the test:2000 section of the string in your workflow with a hard coded production URL.
Or you could switch the URLs around so that the default URL is the mysite.mycompany.com one and the test:2000 is the AAM. That's far more risky though as AAM changes are the easiest way to bring down your farm.