Weird error when resuming suspended workflow from action center

When getting a result back from action center and resuming my workflow I am getting the following error.

RemoteException wrapping System.Activities.WorkflowApplicationAbortedException: The WorkflowApplication has been aborted because a Load or LoadRunnableInstance operation threw an exception. Create a new WorkflowApplication object to try loading another workflow instance.

Hi @Vinny_LaRocca ,

Could you let us know What were the Create and Resume activities used ? Also, Was the Action marked as an Exception in Action Center ? Was a long time taken to Submit the action ?

Action center is being used to select an email address from a drop down. It did not take long in action center, I did it almost right away.

What is meant by marked as an exception? I think the answer is no, but I am not sure.

@Vinny_LaRocca ,

From the Statement above, Is it right to say that you are using Create Form Task Activity ?

Yes, that is correct.

@Vinny_LaRocca ,

To Just Check if this is the same when tested Separately as well, Could you Create a Sample Test Sequence and Check if the Create Form Task Activity and Wait for Task Resume gives out the same error.

Also Let us know what were the arguments provided to Create Form Task Activity.

With just those two activities in another workflow it seems to work fine.

@Vinny_LaRocca ,

In that case, Could you try Removing and Adding the Activities in your Project file once and Check whether it is able to work.

Also, we would need to Check if there are any non-serializable datatypes present in the workflow/Sequence where the Create and Resume activities are present.

We would also like to know the arguments provided as well.

Take a look at the below docs as well :

This is what I am passing into the form

I’m not sure what non-serializable data types would entail. Also, does that apply to just variables being used in the form task activities or all variables visible in that sequence?

Redid the action center portion of the workflow and got the same error.

I also can confirm there are no non-serialized variables visible to the action center sequence

I found the issue. There was a data table in the scope. When the data table was limited to only the previous sequence it fixed the issue. Weird since data table is considered a serialized variable, but a fix is a fix!

@Vinny_LaRocca ,

If the Datatable is prepared from the Studio and Not by reading the Data from Excel, try providing a Table Name to the datatable using an Assign Activity like below and Check if this solution also works (If you do want to test).

yourDatatableVar.TableName = "Some Name"

Let us know if you have tried it and what is the outcome of it.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.