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.2K All Categories
- 68 General
- 11 Training
- 203 Installation / Setup
- 1.1K Flows
- 108 Rules
- 262 Administration
- 212 Portal
- 494 General Q & A
- 699 Forms
- 334 Reports
- 3 Designer Extensions
- 47 Example Flows
- 53 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 180 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 80 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 92 Lunch And Learn Questions