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.3K All Categories
- 69 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 108 Rules
- 266 Administration
- 212 Portal
- 495 General Q & A
- 704 Forms
- 335 Reports
- 3 Designer Extensions
- 47 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 181 Datastructures
- 69 Repository
- 227 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 112 Lunch And Learn Questions