Topic Options
#57974 - 04/30/21 02:13 PM Subprocesses and Create Web Content
Brian Bystrom Offline
OL Newbie

Registered: 04/02/20
Posts: 1
I am attempting to consolidate two very similar processes that share 95% of the same logic, but differ in the first 5 steps of the process.

I have be successful in creating a subprocess that contains the duplicated part of the process. My question is regarding the ending of the subprocess. Typically when we have used these before it's used to run some code and then jumps back to the main process that called the subprocess using the "End subprocess" output.

In this instance the subprocess actually does not have the "End subprocess" output, but instead ends with "Create Web Content".

This works just as our intention was, and seems to return back to the parent process that called the subprocess and finishes up. I just want to make sure that there aren't any "Gotchas" here that I'm missing that may cause the server to slow down over time because we aren't using the "End subprocess" output to send it back over to the main process.

Top
#57977 - 05/04/21 12:01 PM Re: Subprocesses and Create Web Content [Re: Brian Bystrom]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1970
Loc: Objectif Lune, Montreal, Qc
Well in theory your subprocess should end with a "End subprocess" task and then, in your calling process, you should add the Create Web Content task immediately after the GoSub task.

But what you've done is perfectly valid as well and will internally be interpreted the same way.
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#57978 - 05/04/21 12:02 PM Re: Subprocesses and Create Web Content [Re: Brian Bystrom]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1970
Loc: Objectif Lune, Montreal, Qc
By the way, questions about OL Connect (and OL Connect Workflow) should be raised in the OL Connect forum. (https://learn.objectiflune.com/discourse/)
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top