SendAzureEventHubMessage Step

Use this step to send message to Azure event hub.

Last published at: August 17th, 2023

Description:

This step sends message to Azure event hub.

Helpjuice Info Callout Title

  • connectionString - Azure connection
  • eventHubName - Event hub name
  • message - Message to send
  • messageParms - Message parameters 
 

 

Returns

  • True – step executed successfully
  • False – step failed to execute 
 

 

Usage:

 

 

Example:

Let’s build and execute the “sendAzureEventHubMessageDef” example.          

  • Create a new definition called “sendAzureEventHubMessageDef” 
  • Select the definition and click the “design” button
  • Drag a “sendAzureEventHubMessage” step from the toolbox
  • Connect the dots between the start and “sendAzureEventHubMessage”  step
  • Click on the "sendAzureEventHubMessage" step to configure its "Settings" properties. Provide a name to the step. Provide Azure connection string. Provide event hub name. Provide message to send. Click on the button to configure multiple message parameters. 
  • The “Logging” setting configuration is necessary for documentation and also measure the workflow progress and the percent complete. This is acheived by configuring the step state and percent fields individually as shown in the images below. Configure the “Logging” using the following properties.
  • Save the process definition, create a new process instance and execute. Render the process instance. Click on the process step to view the properties. The step should send the message to Azure event hub.