Notification.send(processId,activityName,arguments,argumentSetName)

Sends a notification to an instance of the specified process passing the arguments that match the Correlation defined in the process where the instance is. If the processId is null the notification will be sent to the current process. For example: // Notification by Process ID / Arguments (Correlation) // The following is the option to notify an instance by its Correlation corrargs as Any[Any] // "techorder_arg" and "technum_arg" are the expected arguments in the Message Wait event that match // the Correlation's properties defined in the Argument Set named "WaitTechnicalRepairIn" in the "WaitTechnicalRepair" activity. corrargs["techorder_arg"] = technicalCode corrargs["technum_arg"] = technum send Notification using processId = "/RepairRequest", // process in which the instance to be notified is activityName = "WaitTechnicalRepair", // activity in which the instance to be notified is arguments = corrargs, // set of arguments/values that will match the correlation argumentSetName = "WaitTechnicalRepairIn" // argument set where the correlation is defined

Arguments:

Name Type Description Mode
processId String process ID in which the instance to be notified is in
activityName String activity ID in which the instance to be notified is in
arguments Map(Any, Any) set of arguments/values that will match the correlation. Array of pairs (name, value) of the parameters of the notification. in
argumentSetName String argument set where the correlation is defined in