AnsweredAssumed Answered

What part of my workflow is erroring?

Question asked by drk76002 on Aug 3, 2017
Latest reply on Aug 3, 2017 by callum

Hi Everyone,

I am using nintex in an office 365 environment.  I am working with a state machine.  At first I thought the workflow was erroring because I had added a "run if" command and a conditional branch command within a state of a state machine.  After removing the things I had thought were the cause I am still recieving the error.  All it should be doing is waiting for tasks to complete and then send emails.  It goes into a suspended status as soon as it tries to send an email.  The error code I am getting is:

RequestorId: 8c3b2a5b-c388-f407-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.InvalidCastException: String at Microsoft.Activities.GetDynamicValueProperty`1.CheckedRead(String propertyName, DynamicItem value) at Microsoft.Activities.GetDynamicValueProperty`1.Execute(CodeActivityContext context) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) Exception from activity GetDynamicValueProperty<String> FormatString NintexActivities.WorkflowXaml_8e03d64c_49b1_4845_a435_94f748f07d04 Sequence If If While State Machine Sequence Flowchart Change Workflow.WorkflowXaml_f1ecdccd_fb76_4183_a267_def11edbc6b1


Any ideas?