I just started designing a process where I’ve got several script tasks that will need to be used over and over again through out. My initial thought was to put those script tasks in a subprocess and just call that anytime I need the scripts. This would greatly simplify script maintenance. The scripts primarily manipulate a group of local variables.
In debugging, though, local variable values do not appear to pass between the parent process and subprocess. I’ve got local variables with the same names set up in both the parent and subprocess. When debugging, as soon as it steps into the subprocess all the variable values are emptied out. I’ve looked around for a setting that may affect this (like the “back up job information”) but haven’t found a setting that passes the information. I’ve got 10-15 variable values to pass between parent and sub.
Am I doing something wrong or can this be done? I get that a process and subprocess are separate, but I figured as long as each had identically named local variables, the data in them would be carried through.
I’m using Connect Workflow 2018.2.