Sometimes we have disconnected data in our form that we do not require in the underlying list, but may need as part of our workflow process.
In this example I show you how to utilise the very helpful Form Data available in Nintex Workflow to pull information from the form that submitted the data in the first place.
List Settings
- Custom list with title field as standard called "FormDataDemo"
Form Settings
- Customise the "FormDataDemo" list using Nintex Forms
- Add Single Line Textbox control to the form with the following settings:
- Name: UnconnectedTextBox
- Connected to: Not connected
- Data type: String
- Publish the form
Workflow Settings
- New nintex workflow on list "FormDataDemo"
- Start when items are created
- Query XML action:
- XML source: XML
- XML: {ItemProperty:FormData}
- Output 1 - XPath: /FormVariables/UnconnectedTextBox
- Store result in: New variable "vTextUnconnectedTextBox"
- Log in history list: vTextUnconnectedTextBox
Of course you are likely wanting to work with that value, not just log it to history list, but this was just for demo purposes and to help resolve a question asked on the community.