I tried to use Get InfoPath form field inner text to get the value of a person/group picker control in my sharepoint designer 2010 workflow. It gives me following error:
Custom.Workflow.Activities.DPWorkflowException: Error getting form value where path = /my:myFields/my:pplLegalL1/pc:Person/pc:AccountId ---> System.Xml.XPath.XPathException: Namespace prefix 'pc' is not defined. at MS.Internal.Xml.XPath.CompiledXpathE
Get InfoPath form field inner text works fine with all other controls except person/group picker. I see the error is something related to the namespace 'pc' in the xpath of person/group picker field. In SP 2007 it works fine because the xpath of a person/group
picker has a namespace 'my'. But in SP2010, it seems to be 'pc'.
Can anyone suggest some solution or any alternative to read the value of a person/picker field from workflow.