Retrieve workflow NWC Forms variables and values
Retrieve workflow NWC Forms variables and values via API (OData) from custom connector, returning the result as a single JSON object
Ok, so I'm attempting to break this down so I can understand it better. Please correct me if I have misinterpreted something. You are starting a workflow via a form (the form contains workflow start event variables). You want to construct a JSON object that contains all the variables and values from the form submission.
An Xtensions custom action will return data in .json format. To clarify – If you build a custom action through Xtensions, and define your input object parameters, they will render as UI elements in the action configuration panel.
You can define a property or field for each variable you want to pass.
Thank you for your response, however, I do understand that I can pass the variables to the XTension. My requirement is to either be able to query the Workflow Form parameters and their values via OData/REST endpoint in order to return all variables and their values, returned as a single JSON object. The alternative is to manually build the JSON object in the workflow prior to sending it to the XTension (extremely tedious). Adding an OOB (out of the box) activity that could build the JSON object in the workflow could also do the same, but then the Nintex OOB activity has to be able to do this without expecting the wokflow designer to manually build the JSON string.
Thanks for your submission. Can you provide more details on the scenario or process you are looking to fulfill?
You could potentially write a custom connector using the Xtensions framework that calls a serverless function to achieve the outcome you want. If you can elaborate and provide more detail on your scenario/problem to solve I can be more specific.
An example of creating a custom action using Xtensions that calls a serverless function can be found here.