Notification.send(instance,thread,activityName,parameters)

Sends a notification to an instance of any process. For example theargs["arg1"]=var1 theargs["arg2"]=var2 // The following is the option to notify an instance by its number within the process // "thread" is to be used if you need to notify a certain "copy" of the instance. In that case send the corresponding number // In this example "thread" is 0 as it is the original one. send Notification using instance = instnum, thread = 0, activityName = "NotificationWait", parameters = theargs

Arguments:

Name Type Description Mode
instance Int target instance Number. in
thread Int target threadId. 0 if it is the original instance. If it is a copy, the number of copy. in
activityName String name of the activity to receive the notification. in
parameters Map(Any, Any) array of pairs (name, value) of the parameters of the notification. in