Hi all
I want to get the fields information from a workitem
eg:
{ "_rev":0,
"put_at":"2010-05-14 09:50:41.505516 UTC",
"participant_name":"requestor",
"wfid":"20100514-bimakeroni",
"_id":"wi!0_0_0_0!!20100514-bimakeroni",
"fields":
{"address":"[email protected]",
"dispatched_at":"2010-05-14 09:50:41.502761 UTC",
"params":
{"task":"upload_account_application_form",
"ref":"requestor"
},
"object_id":17,
"object_type":"email"
},
"type":"workitems",
"fei":
{"sub_wfid":null,
"wfid":"20100514-bimakeroni",
"engine_id":"engine",
"expid":"0_0_0_0"
}
}
in this file ,I want to get
'address','task,'ref','object_id','object_type' information. I try to
use JSON.parser(workitem)
but I'm fail.
Thank you!
Hansen
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en