Skip to main content

Invoked workflow cant use "Get Current User" activity

Comments

4 comments

  • Ryan Cooney

    Hi Zorba,

    The Invoke Workflow and Invoke Workflow Async activities initiate the child workflow as if it were a completely new process. This means that they are disconnected from the current HTTP request that triggered the parent workflow so we don't have access to the same information, such as who the connected user is.

    The following activities will not work inside an invoked workflow:

    • Get Current User
    • Get Extension <T>
    • Get Request Info

    The Reference Workflow activity does not have this limitation. It may work in your case.

    --Ryan

    0
  • Permanently deleted user

    Ryan, I figured it was something like that. Is that documented somewhere?

    We are at Essentials 3.15. Do you have to upgrade to 4.0 to use the Reference Workflow activity?

    Thanks

    0
  • Ryan Cooney

    Hi Zorba,

    This isn't documented yet because this is the first time we've encountered it. If we cannot find a way to just make it work we will document the limitation.

    Yes, the Reference Workflow activity is avaiable as of 4.0.

    --Ryan

    0
  • Permanently deleted user

    Ok, thanks.

    0

Please sign in to leave a comment.