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

Sends a notification to an instance of the same process by its NUMBER. For example theargs["arg1"]=var1 theargs["arg2"]=var2 // The following is the complete 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. // "argumentSetName" is necessary if the Message Wait event has multiple Argument sets send Notification using instance = instnum, thread = 0, activityName = "NotificationWait", argumentSetName = "NotificationWaitIn", 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
argumentSetName String name of the target argument set. in
parameters Map(Any, Any) array of pairs (name, value) of the parameters of the notification. in