Tip! Use "Force primary thread" to set one of the alternative execution flows as "foreground" thread 


See Xml\Tutorial\5001 Advanced topics\0101 Working with gateways\ParallelGateway.xml for the file used in this tutorial


In multi-threading scenarios, multiple flows are executed in parallel. However, only one of these "threads" will be executed as foreground thread, connected to the ScriptoMate IDE for presenting GUI output to the user. All other threads are executed in the background, and can't be used to present GUI output to the user. Multi-treading scenarios apply to diagrams containing inclusive and/or parallel gateways. The foreground thread can be forced by the user.

Example


Right click one of the connectors of an inclusive or parallel gateway to show the connection context menu

Select [Force primary thread] to set the selected connection as foreground thread