Hoppa till huvudinnehållet

Alert throwing error Cannot serialize DataTable but Title and Text only strings

Kommentarer

2 kommentarer

  • Permanently deleted user
    Apparently all I had to do was post this and the solution would become evident to me.

     

     

    We use a software package named Elements from Novotx. They have a workflow activity named Tools_Database_GetDatatable that does not set the DataTable name.

     

     

    The solution was to use an Assign activity and set the DataTable name.

     

     

    For example, I used the Activity Tools_Database_GetDataTable to perform a Select. The ReturnTable property was set to a table variable I named QueryResults. So I needed an Assignment activity that set QueryResults.TableName = "Results". Now the Alert no longer gives an error.

     

     

    Not sure why an alert using text would try to find the TableName of variable it is not using??
    0
  • Nico Burgerhart
    This is a serialiation issue.

     

    In most cases, you will have to explicitly set your DataTable to Nothing (or ensure it is out of scope) before using a client-side activity like an Alert.
    0

Du måste logga in om du vill lämna en kommentar.