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.
![](/download/attachments/2286938/createThread.png?version=1&modificationDate=1541689472000&api=v2)
You can create a new thread using a Call Operation Action with stereotype <<CreateThread>>.
![](/download/attachments/2286938/create_thread_call_operation_action.png?version=1&modificationDate=1541689472000&api=v2) | 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. |
![](/download/attachments/2286938/create_thread_select_stereotype.png?version=1&modificationDate=1541689472000&api=v2) | Use the search field to find the <<CreateThread>> action. Activate the checkbox to assign it. |
![](/download/attachments/2286938/create_thread_activity_diagram_cropped.png?version=1&modificationDate=1541689472000&api=v2) | A thread has no output besides the automatically generated threadID (see Parameters). |
Parameters
Name | Type | Direction | Description | Allowed Values |
---|
threadID | String | out | For every thread a distinct ID is automatically generated. | any string |