Skip to main content
Nintex Community Menu Bar

Blank Approval Form Error

  • April 30, 2020
  • 5 replies
  • 43 views

Forum|alt.badge.img+5

I'm running into a strange occurence.

I have an approval workflow with an approval form (Flexi Task). This approval workflow has run 400x times without any issues however today I got a user (approver) saying she doesn't see anything. As in the Master page loads around where the form should be, but the form itself is just white space. 

This approver has used the workflow successfully 50+ times, not changes in permissions (there would be a "You're not allowed ..." message)
Even when I look at it (Admin) the form doesn't load for me.

OTHER Approval (Flexi task) forms from different workflows are loading fine, just this workflow seems to not load the Lists/Workflow%20Tasks/DispForm.aspx

 

Looking at the ULS on WFE it seems to go through the process of fetching the request and I see no errors.

Has anyone ever encountered this?

5 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • May 1, 2020
Hi
In general forms render white when there is an issue with a rule or calculated value or sometimes custom code when using a classic form.

Is it possible that the task item has special characters or something that are being used in a rule or calculated value control that are messing up the code for this one form? Do you see any errors in the browser console when the form loads white?

Forum|alt.badge.img+5
  • Author
  • Nintex Partner
  • May 1, 2020

Hi Simon,

 

There aren't any errors in the browser console. The form has no Calculated value controls or any custom JavaScript. It has 2 validation rules just ensuring 2 specific fields are not left empty.

 

It does however contain a couple of repeater controls. Perhaps I'll investigate that avenue for now.


Forum|alt.badge.img+5
  • Author
  • Nintex Partner
  • May 1, 2020

Further, I've reset the form completely to the bare bones Nintex default and it's still not loading.

In fact, it seems that the workflow Flexi Task creates the task for the user but never completes the notification... so this might point to an issue with the WF itself.


Forum|alt.badge.img+5
  • Author
  • Nintex Partner
  • May 1, 2020

as I mentioned I've completely reset the form and then even recreated a new workflow. A workflow runs until it encouters a Flexi, Approval or a Review action at which point it fails.

 

Looking at ULS on the WFE I'm seeing these

(.../_layouts/15/NintexWorkflow/preview.aspx?...): Nintex.Workflow.NWActionExecutionException: Error in request review action. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at 0xs=.xxw=.zBw=(NWContextDataCollection zRw=, Approver zhw=, NWWorkflowContext zxw=, ContextDataOptions 0Bw=, Boolean 0Rw=)
at Nintex.Workflow.HumanApproval.Message.Send(Approver approver, Message persistTo)
at Nintex.Workflow.HumanApproval.ReviewTask.ClosePendingApprovers(Boolean informPendingApprovers, Outcome reason, UpdateApproverTaskMode closureMethod)
at Nintex.Workflow.Activities.ReviewActivityInternal2.TaskCompleted(Object sender, EventArgs e)
at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
at System.Workflow.Activities.ReplicatorActivity.Cancel(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.CompositeActivity.HandleFault(ActivityExecutionContext executionContext, Exception exception)
at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run() -
-- End of inner exception stack trace --- (Build:31710)


System.NullReferenceException: Object reference not set to an instance of an object.
at 0xs=.xxw=.zBw=(NWContextDataCollection zRw=, Approver zhw=, NWWorkflowContext zxw=, ContextDataOptions 0Bw=, Boolean 0Rw=)
at Nintex.Workflow.HumanApproval.Message.Send(Approver approver, Message persistTo)
at Nintex.Workflow.HumanApproval.ReviewTask.ClosePendingApprovers(Boolean informPendingApprovers, Outcome reason, UpdateApproverTaskMode closureMethod)
at Nintex.Workflow.Activities.ReviewActivityInternal2.TaskCompleted(Object sender, EventArgs e)
at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
at System.Workflow.Activities.ReplicatorActivity.Cancel(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.CompositeActivity.HandleFault(ActivityExecutionContext executionContext, Exception exception)
at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run()

 

Luckily, this is only affecting just that single list.

The one thing that's different on it is that it has unique permissions based on who submitted it and who the manager is. However, removing those unique permission and inheriting the parent did not fix the issue.


Forum|alt.badge.img

Did you ever find a solution to this?  I am having the same problem with a workflow/flexi task that has not been updated in over a year.  All of a sudden, all task approval forms are empty.