Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Synchronous and Asynchronous Sub-Process Invocations

Sub-process invocations can be performed synchronously or asynchronously in relation to the invoking process flow.

Use synchronous sub-process invocation when you want the process to wait for the sub-process to complete before the main process can proceed.

Use asynchronous sub-process invocation:

- when you want sub-processes to run separately from the main process, and the sub-process does not need to complete for the main process to complete. The invoking process can complete faster without waiting for the sub-process.
- when you want to run sub-processes in parallel with the main process without sacrificing migratability, and when you do not want to hold up the main process.

Note: Use asynchronous attached sub processes when you want to run sub-processes in parallel with the main process without sacrificing migratability, and when you do not want to hold up the main process.

Choose the invocation mode of a Call Sub-Process activity from the Properties tab, by selecting General > Lifecycle > Invocation Mode):

- Synchronous: the invoking process flow waits for completion of sub-process.
- Asynchronous Attached: The invoking call activity completes immediately and flow continues. The sub-process is canceled with parent process, the parent process is not considered complete until sub-process completes.
- Asynchronous Detached: The invoking call activity completes immediately and flow continues. The sub-process lifecycle is independent of the invoking process.

Pageflow Processes (including Business Service, Case Action) can invoke Business Processes in asynchronous detached mode).

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.