You can create Signal Instances by using the following API. The signatures of this API are as follows
 

	public SignalInstance createSignal(Signal signal) {
		...
	} 

	public SignalInstance createSignal(String keyword) {
		...
	}

 

The following example demonstrates how to create a Signal Instance

ALH.createSignal("start");
ALH.createObject("statemachine::signals::start");
ALH.createSignal(s); ---> if 's' is an instance of a Signal.

The parameter of this API can be either a String or a Signal. If it is a String, the system will find a Signal whose name or qualified name contains the String.