AnsweredAssumed Answered

Workflow Suspended. An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ArgumentException: AssignedTo

Question asked by sandy_s on Feb 23, 2017
Latest reply on Feb 23, 2017 by sandy_s

Hi All,

I have developing a State machine workflow in SharePoint Online, where account manager fills up the form, approved/rejected by the site program manager and eventually approved/rejected by Project manager.

Background:

It was previously done by previous partner and we are enhancing the workflow from sequential workflow to state machine.

There are SharePoint Groups settings that applied from previous system.

 

Account Manager




Site Program Manager



Project Manager




These are the Site program manager and Project Manager list settings for the list.




 These the EXACT settings from previous system.  

Challenge:

When account managers fills in a form, he / she picks site program manager and project manager as shown:



and
 


After few minutes, I got the following error:




RequestorId: baef55fc-bd41-2367-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ArgumentException: AssignedTo at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) Exception from activity Throw If Sequence NintexActivities.WorkflowXaml_34ba3517_fe61_4962_98b8_fcddb8d6bdd3 Start a task process - Ask SPM Sequence If While State Machine Sequence Flowchart TEST Request Approval - State Machine.WorkflowXaml_bab44579_fb56_4011_86c2_bcf5dff60807


I have almost spent a full day to troubleshoot and most the solutons were for SharePoint On-Premises but could not find the solution for SharePoint Online.

I need suggestions from experts.
Any advice would be highly beneficial.

Rhia Wieclawek Tomasz Poszytek Mike Matsako

Outcomes