diff --git a/workflow/workflow-demos/processes/BusinessNotification/OrderProcess.p.json b/workflow/workflow-demos/processes/BusinessNotification/OrderProcess.p.json index 0da1acb73..71b1a695a 100644 --- a/workflow/workflow-demos/processes/BusinessNotification/OrderProcess.p.json +++ b/workflow/workflow-demos/processes/BusinessNotification/OrderProcess.p.json @@ -216,7 +216,7 @@ "BusinessNotification", " .create()", " .message().fromCms(\"/Notification/Messages/OrderDelivered\", in.order.product, in.customer.surname, in.customer.name)", - " .receivers().addCase().allInvolved()", + " .receivers().ofCase().addAllInvolved()", " .send();" ] } @@ -282,7 +282,7 @@ " .template(\"Order\")", " .payload(in.customer)", " .message().fromCms(\"/Notification/Messages/InvoiceSent\", in.order.product)", - " .receivers().addTask().activator()", + " .receivers().ofTask().addActivator()", " .send();" ] } @@ -351,7 +351,7 @@ " .template(\"Order\")", " .payload(in.customer)", " .message().fromCms(\"/Notification/Messages/OrderFinished\", in.order.product)", - " .receivers().addCase().allInvolved()", + " .receivers().ofCase().addAllInvolved()", " .send();" ] }