Getting User Context in Async Subflow

in Flows
Hi, I'm having a problem where whenever I try to get the User Context variable in Flow Data within an Async Subflow, it keeps returning as NULL. Even if I started the main flow, as soon as it hits that subflow, it goes NULL again. Am I doing something wrong?
Comments
-
Hello there!
This is expected behavior from Decisions. Whenever a subflow is set to Async, the user context defaults to SYSTEM, regardless of who started the flow. To resolve the issue you are having, simply pass in the variable into the subflow as an input to be used in the subflow.
-Gregory, Decisions Support
Howdy, Stranger!
Categories
- 4.4K All Categories
- 78 General
- 13 Training
- 209 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 709 Forms
- 345 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 186 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions