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.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions