Flow isn't updating value when called as subflow
Comments
- 
            
I have a flow (image attached) which update the "completed" status of an assignment entity. I can see the data changed in report when this flow is executed manually by passing the assignmentId (via debug in Decisions studio). But, when called as a sub-flow in another flow, it fails to update the data. It doesnt throw any error but the data isnt changed as expected.
 - 
            
Hello,
You can use Logging steps around your Flow to capture whats happening. Please refer [url=https://documentation.decisions.com/docs/logging-overview]https://documentation.decisions.com/docs/logging-overview[/url] for more information on this.
Would you be able to export this Project so that I can take a closer look into this? Please refer [url=https://documentation.decisions.com/docs/exporting-and-importing-overview]https://documentation.decisions.com/docs/exporting-and-importing-overview[/url] for information on Exporting.
 - 
            
The following is in response to Wills reply email (sorry, I couldt find that reply in the forum):
In the original flow, I have send-email steps on each path and it is confirmed that execution took the singular path at runtime. I just removed them for better readability when posting it.
I was wondering whether it is something like a scope restriction in Decisions which I am not aware of (e.g. whatever changes made by the subflow is reverted back by the parent flow – like changes made in sub-routine to a parameter is lost when returned to caller-routine when the parameter was passed as a value not as a reference).
[i]edited by kyaw kyaw htat on 8/2/2019[/i] - 
            
Hi kshitij, I am sorry that I cannot export the subflow and its caller flow due to privacy stuff (i.e. it is a project work). Regarding the use of logging step, I was using the send-email steps for the same purpose, and they were removed for better readability before posting it.
 - 
            
Hello, lets discuss your issue in more detail in as support ticket so we can better understand what you are looking for. I will go ahead and opened up a support ticket on your behalf and you will be notified through email once this tickets been created.
 
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