Getting User Context in Async Subflow

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

Sign In or Register to comment.