DPE WorkflowSystem 3.x

SendToMessageBus

Sends a message to the DPE MessageBus. The DPE MessageBus allows to exchange messages between participants.

SendToMessageBus.png

Properties

SendToMessageBus_Properties.png

Input

Name

Description

Message

The message to transmit.

MessageType

How the message is to be interpreted:

  • empty string: text message

  • openurl:  URL message

Headline

Optional headline

ToId

Restricts the delivery of the message to message bus clients with this Id. * means no restriction.

ToMachine

Restricts the delivery of the message to message bus clients on this Machine. * means no restriction.

ToUser

Restricts the delivery of the message to message bus clients with this User. * means no restriction.


Simple Text Message Example

SendToMessageBus_Example_HelloWorld.png

Decide about the recipients in ToId, ToMachine and ToUser.

SendToMessageBus_Example_HelloWorld_Properties.png

OpenUrl Example

Scenario: start a workflow in ContentManager that imports an entry into DigaSystem and let the workflow ask for opening the entry in SubCip Editor

Precondition: add "Creator" and "CreatingComponent" to argument list

SendToMessageBus_Example_OpenUrl_Arguments.png

Also specify two helper variables

SendToMessageBus_Example_OpenUrl_HelperVariables.png

and assign machine to: parts.Length == 2 ? parts[0] : "*"

SendToMessageBus_Example_OpenUrl_Workflow.png


SendToMessageBus_Example_OpenUrl_Properties.png