Skip to main content
Skip table of contents

Create a Thread (deprecated)

With the Create Thread Adapter deprecated, you can create threads from a service call or independent threads. Each new thread runs an operation parallel to the main thread.

You can create a new thread using a Call Operation Action with stereotype <<CreateThread>>.

Drag and drop the operation you want to call onto the diagram pane. The call operation action is displayed including the related pins.

Choose Stereotype from the context menu.

Use the search field to find the <<CreateThread>> action. Activate the checkbox to assign it.

A thread has no output besides the automatically generated threadID (see Parameters).

You cannot use the Action Wizard to add a <<CreateThread>> action. The wizard is only usable for <<BlockThread>> and <<WaitForThread>>.

Parameters

NameTypeDirectionDescriptionAllowed Values
threadIDStringoutFor every thread a distinct ID is automatically generated.any string

The createThread action has no default input parameters, you can define as many input parameters as needed.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.