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.
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.
These the EXACT settings from previous system.
When account managers fills in a form, he / she picks site program manager and project manager as shown:
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.