Skip to main content


 

Symptoms


Create reference error
 

Diagnoses


When trying to create workflow which would be sub workflow. But in this sub workflow you are trying to use ?Create reference? step, but within this step it always throws me an error ?Object reference not set to an instance of an object.?. If you start this subworkflow manually this works fine, but when it?s started as subworkflow it gives me an error. Both workflows (parent and sub) is for one sharepoint list.
 

Resolution

This issue will be resolved with K2 version (4.7.1).

There are however two workarounds in place that will help in this scenario:


1- create the ItemReferences Xml Field manually in the Child IPC Process.

OR

2- Open the child process and and edit the 'Create reference' step.
Take note of the SmO, Method and Reference name.
Then open the parent process.
Add a create reference step after the start line.
Use the same SmO, method and Reference name which you took note of on the child process.
Deploy and run.
 




 
Be the first to reply!

Reply