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]
Howdy, Stranger!
Categories
- 4.3K All Categories
- 73 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 110 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 709 Forms
- 343 Reports
- 3 Designer Extensions
- 48 Example Flows
- 57 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 69 Repository
- 229 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 58 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions