I need to obtain all the field values from a task form and send it to an API.. Few times in the workflow.
I was wondering if I could get an usable JSON form of the Task form?
At least if I could move all of the controls inside a Repeater, will I be able to get useful JSON - the same way we used to get XML when using "Nintex for SharePoint" repeaters?
and the cryptic output I get. The JSON variables have some random text appended.
Thanks in advance.
Not sure if this is helpful or relevant to what you're trying to do, but I seem to be having luck getting collections into a JSON format with the following 4 actions:
Once I run those 4 actions against my collection (Which I expect to be JSON already), it is a valid JSON string.
Disclaimer: My collections are coming from built in actions and Xtension actions, not repeatable form sections. However, the formatting of the string in your screenshot is the same what I'm getting, so maybe it would work for you as well.
@SanthoshKumar-R I believe that this is related to how form variables as passed to the workflow engine for interpretation. We have a similar feature request open to better handle Start Variables (form variables included), which should also fix this problem if you'd like to add your vote to it: https://nintex.uservoice.com/forums/430063-5-nintex-workflow-cloud/suggestions/39801832-improved-ins....
Not sure that there is currently another way around this.