Question

How to get Nested Parameter in section wizard page from web service

Dear Team,

                  How to get Nested Parameter value in section wizard. i trying to get value from web service using process designer how to set formula value.see below

 

Thanks in advance,

Sekhar.

 

Like 0

Like

1 comments

Dear Sekhar,

Based on the screenshot, I can assume, that you are receiving an array in the JSON response, which you want to use further in the formula. Therefore, since this is an array and you want to pass it to the text field, you need to transform it to the single string. Here you can choose two options:

1. Use String.Join method in the Formula to unite array elements. https://msdn.microsoft.com/en-us/library/57a79xd0%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396

See the example of method usage in Formula:

String.Join(", ", [#MyParameter#])

2. Adding a Script Task element, where you will run a ForEach method to work with an array. The result can be passed to the process parameter and used further.

Regards,

Anastasia

Show all comments