Help using Subworkflows - Duplication of child workflow

Avatar

Avatar
Validate 1
Level 2
wesp27904446
Level 2

Likes

12 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
wesp27904446
Level 2

Likes

12 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
wesp27904446
Level 2

18-05-2019

I'm starting to learn the ins and outs of subworkflows and i'm confused as to why each time i run the master workflow it creates a copy of child (subworkflow) in my workflows folder.  This is creating a ton of clutter for a workflow that needs to run daily or weekly.  Can someone explain to me the function of this copy?  Is there a way to stop this from happening so i only have the single child workflow that is being referenced?

Thanks.

Replies

Avatar

Avatar
Validate 1
MVP
kapilKochar
MVP

Likes

130 likes

Total Posts

144 posts

Correct reply

45 solutions
Top badges earned
Validate 1
Contributor
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
kapilKochar
MVP

Likes

130 likes

Total Posts

144 posts

Correct reply

45 solutions
Top badges earned
Validate 1
Contributor
Give Back 10
Give Back 5
Give Back 3
View profile
kapilKochar
MVP

19-05-2019

Hi, Can you please explain more about error.

Avatar

Avatar
Validate 1
Level 4
pierrec70731455
Level 4

Likes

62 likes

Total Posts

59 posts

Correct reply

14 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 4
pierrec70731455
Level 4

Likes

62 likes

Total Posts

59 posts

Correct reply

14 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
pierrec70731455
Level 4

20-05-2019

Hi,

the duplicates of subworkflows are only visible in the folder of the subworkflow template if there is an error in the execution of the subworkflow.

Kind regards,

Pierre

Avatar

Avatar
Validate 1
Level 2
wesp27904446
Level 2

Likes

12 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
wesp27904446
Level 2

Likes

12 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
wesp27904446
Level 2

20-05-2019

Ah, okay. thank you.  If i delete the copy workflows and then rerun the master workflow to completion (assuming the child completes successfully) i should only see the single workflow.  Is that correct?  It appears that my original child workflow has a status of failed even though i know it has run successfully in the past.  Do i need to restart the child workflow to get this to clear?

thank you.

Avatar

Avatar
Validate 1
Level 4
pierrec70731455
Level 4

Likes

62 likes

Total Posts

59 posts

Correct reply

14 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 4
pierrec70731455
Level 4

Likes

62 likes

Total Posts

59 posts

Correct reply

14 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
pierrec70731455
Level 4

20-05-2019

Hi,

you don't need to stop the first sub-workflow, if you intend on examining later on the temp:table of the failed activity. If you rerun your master workflow it will do so independently from your first failed sub-workflow.

Kind regards,
Pierre

Avatar

Avatar
Validate 1
Level 2
wesp27904446
Level 2

Likes

12 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
wesp27904446
Level 2

Likes

12 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
wesp27904446
Level 2

20-05-2019

Ah, ok.  I think i understand.  So it will create a copy of the subworkflow for any failed attempts but as long as the attempts are successful it will continue using the first successful version.  is that right?

Avatar

Avatar
Validate 1
MVP
kapilKochar
MVP

Likes

130 likes

Total Posts

144 posts

Correct reply

45 solutions
Top badges earned
Validate 1
Contributor
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
kapilKochar
MVP

Likes

130 likes

Total Posts

144 posts

Correct reply

45 solutions
Top badges earned
Validate 1
Contributor
Give Back 10
Give Back 5
Give Back 3
View profile
kapilKochar
MVP

20-05-2019

Hi,

Yes that's correct. Sub-workflow will never be visible if there is no error !