Mappings Copy with Similar Flows of Different Executables
To start mapping your model with Virtual Bench, you must have imported your types and flows, according to the method described in the related page.
In some cases, you may have the same flow name, but existing in another executable. It will often fulfill the same function, therefore it may be applied to the same Virtual Bench element. This case implies that you would normally have to create the same mapping definition twice (or more), in different executables.

Those distinct executables can be both instantiated as websocket in one of your scenario.

First, select the element related to the flows existing in different executables. In our example, our bulb element will have two mappings from the Bulb executable, and from the Bulb Supervisor executable. Both executables can switch the light on, with a similar flow fulfilling the same function.

Once a mapping instance already exist in your element for one executable, you have the possibility to copy it, for your other executable.

When clicking the copy icon, a popup window will appear and will display all websockets from another executables, containing the same flow name:

Select the relevant websocket, and click OK. The mapping will automatically be created in the other executable according to the one already existing and instanciated in your element:

