How to deserialize Wait for Form Task and Resume JSON object

I got response from Wait for Form Task and Resume activity as below

Data=JObject(4) { JProperty(1) { [test] }, JProperty(1) { [] }, JProperty(1) { [7527] }, JProperty(1) { [TransferName] }}

How I can deserialize this to extract values from it.

Hi @suripaleru

If you store the output from the Form as a variable called “formTaskOutput”, then you can use the following expression:

Parse.JObject(formTaskOutput.ToString())(“ATTRIBUTENAME”).ToString

Where ATTRIBUTENAME is the name of the field key from the Form that you wish to get the value from. This will be the “Field Key” that you set of the component when creating the Form.

I hope that helps :slight_smile: