web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Error during Work Item Creation

(0) ShareShare
ReportReport
Posted on by 250

Hello All,

I have a custom workflow that keeps giving this error After submitting my document to workflow

Stopped (error): SysWorkflowQueue-resume    X++ Exception: Object reference not set to an instance of an object.
 at SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume
 I do not know wheat could have caused this . i have checked through the codes and everything seems fine.
Can you please assist with possible causes of this exception.
I have the same question (0)
  • WillWU Profile Picture
    22,361 on at

    Hi Matthew,

    'object reference not set to an instance of an object' is a very generic error thrown when an application is trying to work with a reference that doesn't point to any object.

    Did you debug your code?

    And please provide your code if possible.

  • Matthew Ireti Profile Picture
    250 on at

    Thanks. After looking through my custom code, I deleted the workflow design and redesigned it. Then the workitems are not creating successfully without any issue. Just thinking what could be wrong at first.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans