Job assignment error!

04-11-2017 06:37 AM
Occasional Contributor II


When creating new job assignment I run to error "Underlying DBMS error [Microsoft][ODBC Driver 11 for SQL Server][SQL Server] Cannot insert the NULL into column'OBJECTID', table 'mytablename'; column does not allow nulls.  INSERT fails.

Note that this table is in different database, not in the workflow database that used for Data Workspaces.  This table has nothing to do with this workflow.  In the past, new job created is written to the system tables in (workflow) database only.  I do not recall I did any modifications to my WF since the last time it was working fine.  All of the sudden, I got this error.  

My job assignment work flow is very simple, just JTXDesktopSteps.DefineAOI-> JTXSteps.CreateJob (arguments: jobtypeid/jobtypename/assigngroup/assignuser)

Has anyone had this issue before ?  

I spent the whole day hunting down where it could go wrong but couldn't come up with anything.


0 Kudos
1 Reply
by Anonymous User
Not applicable

Were you able to resolve your issue?

0 Kudos