Skip to main content
Answer

Workflow: What is the difference between the endusersession and workflowend activity?

  • December 16, 2021
  • 3 replies
  • 85 views

christopherlecky
Novice
Forum|alt.badge.img+16

Pretty straightforward question, I have a number of workflows that I have inherited and some end with enduser session, rather than workflow end.

thanks for any help.

Best answer by Chris Sunderland

The WorkflowEnd activity is used as the last activity in the workflow.  This activity allows you to set a particular status of that workflow (Success, Failed, etc), along with a failure reason is any.

The EndUserSession is used in workflows that have “Start interactive session” turned on and is placed after all interactive activities (PopupInput, InformationalMessage, etc) have completed.  If this activity is not added, then you may get a timeout error after 2 minutes of the GUI waiting for a response from the workflow engine.

3 replies

Mike Struening
Vaulter
Forum|alt.badge.img+22

Endusersession closes the last interactive user session opened, which is not really the end of the workflow (though in effect it might be?).

@Chris Sunderland might have some thoughts as well..


Forum|alt.badge.img+6

The WorkflowEnd activity is used as the last activity in the workflow.  This activity allows you to set a particular status of that workflow (Success, Failed, etc), along with a failure reason is any.

The EndUserSession is used in workflows that have “Start interactive session” turned on and is placed after all interactive activities (PopupInput, InformationalMessage, etc) have completed.  If this activity is not added, then you may get a timeout error after 2 minutes of the GUI waiting for a response from the workflow engine.


christopherlecky
Novice
Forum|alt.badge.img+16

Perfect Chris, Thank you.