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
- 82 General
- 13 Training
- 210 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 498 General Q & A
- 714 Forms
- 347 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions