file upload error

file upload error

Comments

  • [font=Roboto, Arial, Helvetica, sans-serif]Hello, We are using forms in our flows in Decisions. The form allows you to upload files (supporting documents). We have upgraded our dev environment to version 6.x and now the files are either not getting uploaded or if they are uploaded the form view is crashing and doesnt open up. It shows the following error when we try to open the form that has files uploaded. [/font]
    [font=Roboto, Arial, Helvetica, sans-serif]
    [/font]
    [font=Roboto, Arial, Helvetica, sans-serif]System.ServiceModel.FaultException`1[DecisionsFramework.ServiceLayer.Utilities.FrameworkFault]: Unable to cast object of type DecisionsFramework.ServiceLayer.Services.FileReference.FileReference to type DecisionsFramework.Data.DataTypes.FileData. (Fault Detail is equal to DecisionsFramework.ServiceLayer.Utilities.FrameworkFault).[/font]

  • [font=Roboto, Arial, Helvetica, sans-serif]There is a mapping somewhere in this Form or its parent Flow that has a FileReference set as the input for a FileData type. There is a possibility that a component in Decisions has changed between major release versions, but assuming this exception is thrown when opening a Form to view files that have already been uploaded, the first thing I would check is the inputs and components on the Form to see if the Form is expecting FileData or FileReference. If the Form is expecting a FileData input and the actual data was uploaded as a FileReference, FileData can be parsed from the FileReference by using a Get Data step at Integration > Internal Services > FileReferenceService > Get Data.[/font]

Sign In or Register to comment.