Skip to main content
Nintex Community Menu Bar

List Lookup control on site workflow start form error

  • March 30, 2021
  • 0 replies
  • 4 views
  • Translate

Gavin-Adams
Forum|alt.badge.img+13

Just thought I'd share a little issue I've had which has been worked around with the help of Nintex support.

 

I created a SharePoint 2013 site workflow using a Nintex start form.

The form had a list lookup control that showed a list of activities groups from a SharePoint list.

 

The control had the ID connected to bound to the variable 'txt-GroupID' and the text connected to mapped to the variable 'txt-Group'.

 

When a user completes the start form (via the nintex start form web part on a site page),

it would show the error.

"Object reference not set to an instance of an object."

 

If the control was not bound to the variables the form would submit correctly.

 

The work around was to remove the hyphens from my variable names.

I've been a long fan of a variable naming convention that includes the variable type. (as the example about). In this case the hyphen I use in the naming convention has caused the problem.

 

Thanks to @SimonMuntz for providing the solution.

Hope that this helps someone else out there when they see this error message.

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings