Keeping Subprocesses Manageable

Keep each subprocess to a manageable size. If the subprocess performs multiple activities, consider splitting it into multiple, smaller subprocesses. This approach enhances reusability and simplifies maintenance.

Another consideration is how you intend to invoke subprocesses. If you are using inline invocation of subprocesses, the impact on performance is relatively small, whereas asynchronous invokes can have a more marked negative effect on performance. If you need to use asynchronous invokes for your subprocesses, consider building the steps into the parent process instead.