Question
Cognizant
US
Last activity: 18 Apr 2018 16:53 EDT
Openspan Agile Desktop - Unable to Sync notes
I am trying to implement the automation to sync notes from Agile Desktop interaction to System of record, following the guidelines in "Agile Desktop Implementation Guide". However, I am facing type casting issues with the automation. The guidelines specify the SaveNotes activity with Notes parameter of "String" type, and that the Notes parameter is a JSON string containing an array of notes. However, when the automation is invoked, the system throws exception that it is not able to cast.
"Object of type 'System.Collections.Generic.List`1[OpenSpan.Interactions.Note]' cannot be converted to type 'System.String'."
How should this be handled? Is there a way to convert the data type in automation, or shall there be a different type specified in Interaction.xml, in order to handle this?
I have used the below in Interaction.xml:
I am trying to implement the automation to sync notes from Agile Desktop interaction to System of record, following the guidelines in "Agile Desktop Implementation Guide". However, I am facing type casting issues with the automation. The guidelines specify the SaveNotes activity with Notes parameter of "String" type, and that the Notes parameter is a JSON string containing an array of notes. However, when the automation is invoked, the system throws exception that it is not able to cast.
"Object of type 'System.Collections.Generic.List`1[OpenSpan.Interactions.Note]' cannot be converted to type 'System.String'."
How should this be handled? Is there a way to convert the data type in automation, or shall there be a different type specified in Interaction.xml, in order to handle this?
I have used the below in Interaction.xml:
<Activity Name="SaveNotes">
<Value Name="Notes" Type="String" />
</Activity>