Hello All,
I have built a sub workflow that goes and creates a database item for members of a group.
The workflow has a step for creating a reference from a database using list method, then goes onto another step that is for each and does the creation of an item on a different database.
the workflow when started manually or by a separate form works just great. however when I call this workflow from a parent workflow I get this error on the reference creation step:
28083 ServerEvent: Object reference not set to an instance of an object.
InnerException: Exception has been thrown by the target of an invocation.
InnerException: Object reference not set to an instance of an object.
I am using the K2 service to start it from within the other workflow.
Any ideas on why it would work only when not called by a parent workflow?
EDIT
After digging I find in the host server log this message :
"18545013","2016-02-01 10:21:32","Error","General","0","ErrorMessage","Default Activity","0 Object reference not set to an instance of an object.","anonymous","0.0.0.0",
Any one have any ideas?