clsLoggly Step

Use this step to send message to Loggly service.

Last published at: September 16th, 2024

Description:

This step sends messages to the Loggly service. 

 

Inputs

  • Message data to Log – Input the message which needs to be logged.
 

 

Returns

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

    

Usage:

 

 

Loggly step requires a subscription from https://www.loggly.com, once signed up, configure the account information within FlowWright configuration:

 

Example:

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

  • Create a new definition called “clsLogglyDef” 
  • Select the definition and click the “design” button
  • Drag a “clsLoggly” step to the canvas
  • Connect the dots between the start and “clsLoggly” step
  • Click the “clsLoggly” step to configure its “Settings” properties. Provide a name to the step. Click on the button to configure the message for the Loggly service. 

 

  • Click on the button to configure the message for the Loggly service. Click on “Save” to confirm the changes. 

 

  • The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved 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. The process step should send messages to the Loggly service as configured.

 

 

  • The message received is stored in JSON format in Loggly.

 

 

Definition Sample:

You may download the sample definition from the link here and later import it (drag-drop) to your FlowWright Process (XML) and Form Definition (HTML) page. After import, you must verify the process steps and complete the database configuration, if any. 

 

https://github.com/FlowWrightCode/FW10Steps/blob/main/clsLogglyDef.xml