cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Workflow error: Error in task

We are using an approval process workflow, and after the first person reviewed and approved the document, it was sent to the second user.  Once that user received notification to review it, the initiator received notification that an error had occurred.  I have been able to resend the link to the second person in the workflow, but the options for approving or rejecting are greyed out, and that person cannot complete her portion of the workflow.  This should not be a permissions issue as this workflow has been running for two years with the same people involved.  The exact error message is:

"Error in task. <nativehr>0x80070005</nativehr><nativestack></nativestack>".

Labels: (2)
Reply
6 Replies
Workflow Hero
Workflow Hero

Re: Workflow error: Error in task

Hi Jennifer,

do you have access to the ULS Logs? As you can see this error message doesn't provide us much information.

Although the workflow maybe running for two years, did you make sure permissions are still configured correctly? If your workflow doesn't run as workflow owner, e. g. the initiator would need to have at least contribute rights on your task list.

Regards

Philipp

Accept as Solution Reply
Not applicable

Re: Workflow error: Error in task

Below is the log: It continues to error across all items in the workflow, but I am showing the first "InitiatorsDisplayname".  The other errors all read the same and have the same attached ID.  We did have some trouble with the server earlier in the day, but it was resolved several hours before this error occurred (the workflow was already in motion and then the server went down for a bit).  We did confirm the permissions were correct, and the workflow has not cancelled out since.

0000 Unexpected : Nintex.Workflow.NWException: Error getting context data for 'InitiatorsDisplayname'. ---> System.UnauthorizedAccessException: <nativehr>0x80070005</nativehr><nativestack></nativestack>     at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)     at Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName)     at Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowExcept... 867c2634-e9ec-4126-9db0-bbaac75b2b0d

Accept as Solution Reply
Workflow Hero

Re: Workflow error: Error in task

Do you have other workflows in your environment that are running smoothly? Looks more like a general configuration problem with your farm than a simple error in your workflow. Maybe your server problems couldn't get resolved completely. I would try to get in touch with the admins and/or contact nintex support.

Accept as Solution Reply
Workflow Hero

Re: Workflow error: Error in task

Hi Guys, do you have a workaround for this?

I'm having the same error, the workflows are running well most of times, but sometimes there are crashing with then next ULS message (after asigning a flexi-task action):

08/10/2016
09:10:39.98         OWSTIMER.EXE
(0x1B4C)                 
        0x261C        Nintex
Workflow 2013        
        Activity Execution          
        00000        Unexpected        Error in
MultiOutcomeTaskAndEscalation
.: System.UnauthorizedAccessException: Access is
denied
. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))    

  1. at
    Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException
    ex)    
  2. at
    Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String
    bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType,
    Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32
    dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean
    bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter
    p2DWriter, Int32& plRecycleBinCount)   
  3. at
    Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String
    strListName)   
  4. at
    Microsoft.SharePoint.SPListCollection.ItemByInternalName(String
    strInternalName, Boolean bThrowException)   
  5. at
    Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID, Boolean
    bThrowException)    
  6. at
    Microsoft.SharePoint.Workflow.SPWorkflow.get_TaskList()    

at
2Bs=.zBw=.0Rw=(NWContextDataCollection 0hw=, Approver 0xw=, NWWorkflowContext
1Bw=, ContextDataOptions 1Rw=, Boolean 1hw=)   

  1. at
    Nintex.Workflow.HumanApproval.ListWorkflowApprovalContext.GetContextData(Approver
    appover, ContextDataOptions options, Boolean forceRefresh, Boolean
    retrieveForLogging)    
  2. at
    Nintex.Workflow.HumanApproval.Message.Send(Approver approver, Message
    persistTo)    
  3. at
    Nintex.Workflow.HumanApproval.Approver..ctor(NintexTask parentTask, String
    userID, String otherEmailAddress, Boolean allowDelegation, Message
    requestApproval, Message approvalNoLongerRequired, Boolean SendNotificationNow,
    Boolean IsDomainGroup, Boolean IsSPGroup, Int32 sharePointTaskId,
    ConfiguredOutcomeCollection outcomes, SPWorkflowTaskProperties taskProps)    
  4. at
    Nintex.Workflow.Activities.MultiOutcomeTaskAndEscalation.CreateDBItems_ExecuteCode(Object
    sender, EventArgs e)    
  5. at
    System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty
    dependencyEvent, Object sender, EventArgs e)   
  6. at
    System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext
    executionContext)   

at
System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity,
ActivityExecutionContext executionContext)   

  1. at
    System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime
    workflowCoreRuntime)    
  2. at
    System.Workflow.Runtime.Scheduler.Run()
    (Build:3180)        6757989d-b3f9-70e2-2f21-78e79620af42

Any help would be appreciated.

Best regards,

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Workflow error: Error in task

Hi Ignasi Tebé,

Ever found a solution for your problem? We have a customer with just the same behaviour.

Thanks,

Peter

Update: found your other comments, will look there further...

https://community.nintex.com/thread/14345-flexi-task-error-in-task-object-reference-not-set-to-an-in...

0 Kudos
Accept as Solution Reply