Hi,
We have created a customization to enable workflow in the periodic journals screen. We are using the standard Daily journal workflow for the periodic journals.
We are receiving the error "Object reference not set to an instance of an object." only for periodic journals where the workflow is completed and the logged in user is not the user who created the journal.
The error is coming at the function formRun.updateWorkflowControls();
The workaround I have is to ask the user to click show user-created only check box to make this error disappear.
This error doesn't show for me as a system admin, hower this error will show to other system admin users. The only difference is that I have created the Daily journal workflow
Hi Hossam,
Seems you already debugged the code and find out the method that is causing the issue. There is a variable named "workflowControl" on the method. Have you checked whether the buffer is having values or it is null?
workflowControl variable is assigned a value in init method of FormRun class.
Debug that method and find out what causing this issue.
Thanks,
Girish S.
Hi Hossam,
We don't have your custom code, and we can't reproduce this issue, so that we cannot investigate the cause of the error. It is recommended that you contact your develop colleague to debug the code and analyze the root cause.
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156