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.5K All Categories
- 87 General
- 13 Training
- 213 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
- 72 Repository
- 238 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 26 Active Directory
- 12 Version 7
- 37 Version 8
- 143 Lunch And Learn Questions