Updating a document in a flow
Comments
- 
            
Hello All,
I am looking to see if I can use a flow to update a specific file that is used in Decisions. The file will be stored on the Decisions side. I know we can use an action on the document to update it, but I would rather have it handled in a flow instead.
 - 
            
Hello,
It’s possible for us to update a file using a flow. There is a step, under Integration -> Internal Services -> Document Service called “UpdateDocument” that may accomplish what you are looking for. The step inputs requires the documentID, along with the modified file to be used. Below is a screenshot of the properties panel of the step.
[img]https://lh4.googleusercontent.com/_S24yE3_3XRvZdyFIpKnpHn1ruNAnSD0XUZZQz0rL2OVrfHdICn4BJbdnJm3v0jxKVdbyqt4q-o3kLrlI20IT1nPWHJ7fCZyYmTsCc9VdAQYfZzO_FVb9wE4WL0ENc9EmTfbkY-4[/img]To use the step:
Get the DocumentID of the file in Decisions. This can be found by right clicking the file -> Get Document ID. Paste this into the documentID step.
[img]https://lh3.googleusercontent.com/q8tiKBG4d_YpSJgzp9AuxAdb5j5yc_zv0fSQJ8KJ7an0jKyxruY-BPYZZgwnIDnMpkG9q4v9XViJKPkkSDMXDP8SwLJp1yE0BY4EUaRBcvCbEDIgFIggyzokiMuw1RwNqhJb3wG3[/img]
For File Data input, we would set it to constant, and select/drag the new file file to the step.After running the flow, the selected file will be updated in Decisions.
 
Howdy, Stranger!
Categories
- 4.5K All Categories
 - 88 General
 - 13 Training
 - 214 Installation / Setup
 - 1.2K Flows
 - 112 Rules
 - 277 Administration
 - 215 Portal
 - 503 General Q & A
 - 722 Forms
 - 356 Reports
 - 3 Designer Extensions
 - 47 Example Flows
 - 58 CSS Examples
 - 1 Diagram Tile
 - 8 Javascript Controls
 - 190 Pages
 - 5 Process Mining
 - New Features
 - 187 Datastructures
 - 73 Repository
 - 238 Integrations
 - 30 Multi-Tenant
 - 27 SDK
 - 81 Modules
 - 60 Settings
 - 27 Active Directory
 - 12 Version 7
 - 37 Version 8
 - 143 Lunch And Learn Questions