ISSUE
When running a workflow containing a Task action, the following error might occur: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_{GUID} [Task action name]
ERROR CODE
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_{GUID} [Task action name]RESOLUTION
From the Nintex Workflow for Office 365 Designer, specify the format value of field "Participant" as an "Email Address":- Drag action "Assign a task" or "Start a task process" into Workflow Designer.
- Double-click the action to configure it.
- Navigate to field "Participants" and specify a value.
- Click the "fx" button beside the "Participants" value to specify the format of this value.
- Choose "Email Address" from the pop-up dialog window to choose how to format value of "Participant".