Messaging and Communication Jobs

The following topics describe job attributes that work with messaging and communication platforms and services:

Atlassian Jira Job

Atlassian Jira is an issue and project tracking platform to manage software development, IT operations, and business workflows.

To create an Atlassian Jira job, see Creating a Job. For more information about this plug-in, see Control-M for Atlassian Jira.

The following table describes the Communication Suite job type attributes.

Attribute

Description

Connection Profile

Determines the authorization credentials that are used to connect Control-M to Atlassian Jira, as described in Atlassian Jira Connection Profile Parameters.

Rules:

  • Characters: 1−30

  • Case Sensitive: Yes

  • Invalid Characters: Blank spaces.

Action

Determines one of the following Atlassian Jira actions to perform:

  • Create Issue: Creates a Jira issue.

  • Update Issue Fields: Updates fields in a Jira issue.

  • Get Issue: Retrieves data for a Jira issue.

  • Add Comment to Issue: Adds a free text comment to a Jira issue.

  • Get Transition Details: Retrieves data associated with all the status options for a Jira issue.

  • Change Issue Status: Changes the status for a Jira issue.

Issue Key

Determines the ID of the Jira issue. This parameter is required for any action on an existing issue. It is not relevant for the Create Issue option.

Issue Parameters

Defines the parameters, in JSON format, to perform actions on multiple Jira fields.

The following example updates the value for multiple fields in the issue that corresponds to the Issue key:

Copy
{
  "fields": {
    "summary": "Updated summary via Postman",
    "description": "This issue was updated using the Jira REST API from Postman.",
    "labels": ["api-update", "postman-test"],
    "priority": { "id": "2" }
  }
}

Transition ID

Determines the status ID for a Jira issue.

Comment

Defines a free text comment to add to the Jira issue.

Communication Suite Job

Communication Suite enables you to automate business messaging and communication over Microsoft Teams, Slack, Telegram, and WhatsApp.

To create a Communication Suite job, see Creating a Job. For more information about this plug-in, see Control-M Communication Suite.

The following table describes the Communication Suite job type attributes.

Attribute

Description

Connection Profile

Determines the authorization credentials that are used to connect Control-M to Communication Suite, as described in Communication Suite Connection Profile Parameters.

Rules:

  • Characters: 1−30

  • Case Sensitive: Yes

  • Invalid Characters: Blank spaces.

Teams Parameters

Defines the parameters, in JSON format, that instruct Teams to perform multiple actions.

You must define an Adaptive Card format for the message as described in Send Adaptive Cards using an Incoming Webhook.

The following example defines Teams parameters in JSON format:

Copy
{
  "type": "message",
  "attachments": [
    {
      "contentType": "application/vnd.microsoft.card.adaptive",
      "content": {
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "type": "AdaptiveCard",
        "version": "1.5",
        "body": [
          {
            "type": "TextBlock",
            "text": "Workflow Alert",
            "weight": "Bolder",
            "size": "Medium"
          },
          {
            "type": "TextBlock",
            "text": "This is an adaptive card alert from my workflow.",
            "wrap": true
          }
        ]
      }
    }
  ]
}

Slack Parameters

Defines the parameters, in JSON format, that instruct Slack to perform multiple actions.

The following example sends the message, "This is a plain text section block.":

Copy
{
   "blocks": [
   {
      "type": "section",
      "text"
      {
         "type": "plain_text",
         "text": "This is a plain text section block."
      }
   } ]
}

Telegram Parameters

Defines the parameters, in simple text format, that instruct Telegram to perform multiple actions.

Rule: 1–4,096 characters.

You can add Control-M variables to the text.

The job finished successfully. The Order ID number is: %%ORDERID.

Silent Message

Determines whether to send your Telegram message without a notification, which is useful for after-hours or non-urgent messages.

Protect Content

Determines whether to prevent your Telegram message from being saved or forwarded.

WhatsApp Parameters

Defines the parameters, in JSON format, that instruct WhatsApp to perform multiple actions.

The following example creates a text message template, which enables you to send notifications or reminders to subscribers:

Copy
{
   "messaging_product": "whatsapp",
   "to": "{{phone number you want to send to}}",
   "type": "template",
   "template"
   {
      "name": "hello_world",
      "language"
      {
         "code": "en_US"
      }
   }
}

Datadog Job

Datadog enables you to gain end-to-end visibility into the health and performance of applications, infrastructure, and network systems across cloud and hybrid environments.

To create a Datadog job, see Creating a Job. For more information about this plug-in, see Control-M for Datadog.

The following table describes the Datadog job type attributes.

Attribute

Action

Description

Connection profile

All

Determines the authorization credentials that are used to connect Control-M to Datadog, as described in Datadog Connection Profile Parameters.

Rules:

  • Characters: 1−30

  • Case Sensitive: Yes

  • Invalid Characters: Blank spaces.

Action

All

Determines one of the following actions to perform on Datadog:

  • Send Event to Datadog

  • Run Datadog Workflow

  • Start Datadog Synthetic Test

  • Create an Incident

Event Parameters

Send Event to Datadog

Defines the details to send an event to Datadog, such as title, message, and alert type.

The following example defines the event details to send to Datadog:

Copy
{
   "title": "Control-M Workflow Failure",
   "text": "A Control-M workflow has failed. Immediate attention is required.",
   "aggregation_key": "controlm_workflow_failure",
   "alert_type": "error",
   "device_name": "controlm-agent-01",
   "host": "controlm-server-01",
   "priority": "normal",
   "source_type_name": "controlm",
   "tags": [
      "environment":"test",
      "source":"controlm",
      "status":"failure"
      ]
}

Workflow ID

Run Datadog Workflow

Defines a unique identifier assigned to a Datadog workflow to trigger.

Workflow Parameters

Run Datadog Workflow

Defines the input values required to run a Datadog workflow.

{"--myWFL1": "myWFL1", "--myWFL2": "myWFL2"}

Synthetics Test Type

Start Datadog Synthetic Test

Determines the type of synthetic test to trigger in Datadog.

Value Values:

  • API Test

  • Browser Test

Test Parameters

Start Datadog Synthetic Test

Defines the synthetic test details, including test ID and variables.

The following example defines the synthetic test details:

Copy
{
   "tests": [
      "public_id": "3bx-33h-ntp"
      ]
}

Delay Logs Retrieval

Start Datadog Synthetic Test

Defines the number of seconds to wait before Datadog retrieves logs or results from a synthetic test.

Default: 60

Incident Parameters

Create an Incident

Defines the data used to create an incident, including title, severity, and associated metadata.

The following example defines the incident parameters in JSON format:

Copy
{
   "data"
   {
      "type": "incidents",
      "attributes"
      {
         "title": "Control-M Workflow Failure",
         "customer_impact_scope": "A critical Control-M workflow failed, affecting downstream processes.",
         "customer_impact_start": "2025-05-04T12:00:00Z"
      }
   }
}

Status Polling Frequency

All

Determines the number of seconds to wait before checking the job status.

Default: 60

Failure Tolerance

All

Determines the number of seconds to wait before checking the job status.

Default: 2

PagerDuty Job

PagerDuty enables you to perform incident management and response in automated workflows and job scheduling.

To create a PagerDuty job, see Creating a Job. For more information about this plug-in, see Control-M for PagerDuty.

The following table describes the PagerDuty job type attributes.

Attribute

Action

Description

Connection profile

All

Determines the authorization credentials that are used to connect Control-M to PagerDuty, as described in PagerDuty Connection Profile Parameters.

Rules:

  • Characters: 1−30

  • Case Sensitive: Yes

  • Invalid Characters: Blank spaces.

Action

 

Determines one of the following actions to perform on PagerDuty:

  • Create an Incident

  • Create an Incident - Detailed

  • Update an Incident

  • Snooze an Incident

  • Incident Details

Incident ID

  • Snooze an Incident

  • Update an Incident

  • Incident Details

Defines a unique identifier assigned to each incident, which allows you to reference, track, and manage the incident.

Email Address
  • Create an Incident

  • Create an Incident - Detailed

  • Update an Incident

  • Snooze an Incident

Defines an email address for a valid user in your PagerDuty platform.

Parameters

  • Create an Incident

  • Update an Incident

Defines specific parameters, in JSON format, to pass when the job executes.

The following example shows the parameters to create an incident template:

Copy
{
  "incident": {
    "type": "incident",
    "title": "The server disk is getting full on this machine",
    "service": {
      "id": "P9VABOD",
      "type": "service_reference"
    },
    "priority": null,
    "urgency": "high",
    "incident_key": "baf7cf21b1da41b4b0221008339ff123",
    "body": {
      "type": "incident_body",
      "details": "A disk is getting full on this machine."
    }
  }
}

Title

Create an Incident - Detailed

Defines the title that describes the incident.

Service ID

Create an Incident - Detailed

Defines the identifier of the service.

Urgency

Create an Incident - Detailed

Determines the current urgency of the incident.

Incident Key

Create an Incident - Detailed

Defines the de-duplication key of the incident.

Incident Body

Create an Incident - Detailed

Describes details of the incident.