Practical implications of using "end" activity

Avatar

Avatar
Validate 1
Level 1
EllyL
Level 1

Likes

0 likes

Total Posts

14 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
EllyL
Level 1

Likes

0 likes

Total Posts

14 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
EllyL
Level 1

28-09-2020

Hello,

 

I've understood that it's good practice to always use an "End" activity to free resources and improve overall performance. However, I find the information regarding the "End" activity to be conflicting, and I wonder if someone could help clear this confusion up?

 

Many thanks in advance,

Elly

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 5
Level 4
ParthaSarathy
Level 4

Likes

42 likes

Total Posts

66 posts

Correct reply

30 solutions
Top badges earned
Affirm 5
Establish
Give Back
Boost 5
Boost 3
View profile

Avatar
Affirm 5
Level 4
ParthaSarathy
Level 4

Likes

42 likes

Total Posts

66 posts

Correct reply

30 solutions
Top badges earned
Affirm 5
Establish
Give Back
Boost 5
Boost 3
View profile
ParthaSarathy
Level 4

28-09-2020

Hi @EllyL ,

Yes, the end activity is a graphically mark for the end of a workflow.
It has No functional impact like query or split or like any other activity. But, Ofcourse If we use end activity at the end of the Workflow, it will free up temporary space of that workflow.
 
Example, Consider You have a workflow ((Start-> Query ->Split -> )) and if you wont enable 'Keep the result of interim population between two execution' in workflow property, You wont be able to see the record in between query and split activity by giving 'display the target'. It will show 'Unable to read data, table has been purged'.
purge.png
But you can see the data in the transition coming out from split, Which means the temporary table data got purged in between 2 activities, whereas it is not purged at last open transitions. And we can notice workflow will be in paused state.
 
So when we use end activity at end of the workflow, all temporary data will get purged. You wont be able to see data between split and end activity by giving 'display the target'. And workflow will be in finished state.
purgeddd.png
So it is a good practice to use End activity at end of the workflow.
 
Regards,
ParthaSarathy S.

Answers (0)