AnsweredAssumed Answered

Error in getting the object values using "Get_object_values" Operator

Question asked by V.Venkat on Mar 17, 2014
Latest reply on Mar 18, 2014 by akhan.1

Hi Community,

I have created a sample process to get the all the values(attributes) of a change order, same as the Order Pc sample workflow.

The Process getting falied at Get_object_Values   and the error message as follows.

Error in post-execution code. Failed to execute code:
Process.web_url = applyXPath(Process[OpName].objectValues,"//AttrName[text() = 'web_url']/../AttrValue/text()" )
Process.chgRefNum = applyXPath(Process[OpName].objectValues,"//AttrName[text() = 'chg_ref_num']/../AttrValue/text()" )
 -- msg.valuemap.unexpected.field.type (#2)
 
Attributes that i am fetching using this operator:
Attributes
"<string>web_url</string><string>chg_ref_num</string>"
 
Code in post-execution section in the Operator
Process.web_url = applyXPath(Process[OpName].objectValues,"//AttrName[text() = 'web_url']/../AttrValue/text()" )
Process.chgRefNum = applyXPath(Process[OpName].objectValues,"//AttrName[text() = 'chg_ref_num']/../AttrValue/text()" )
 
please help to understand why i am getting this error and is their any other operator avilable to fetch the object information in the process.
 
Thanks
venkat

Outcomes