Skip to Main Content
Nintex Ideas

đź‘‹ Use this site to provide feedback and ideas for all Nintex Products. See our post on Nintex Community "Welcome to Nintex Ideas" for more details on Nintex Ideas, how an idea is handled by our product teams and more!


If you have questions about Nintex Ideas, please contact ideas@nintex.com

If you require support, please visit Nintex Customer Central

If you have a sales inquiry, please contact sales@nintex.com

Status Not Planned
Categories Xtensions
Created by Guest
Created on Oct 23, 2017

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
  • Attach files
  • Guest
    Reply
    |
    Sep 7, 2022
    Hi there,

    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.
    https://help.nintex.com/sdk/Content/03_Advanced/03_Serverless/PRC_02SVR_XML.htm

    Regards,
    David
  • Guest
    Reply
    |
    Sep 7, 2022
    Hi David,

    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.
  • Guest
    Reply
    |
    Sep 7, 2022
    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.