Working With Operator Messages

There are several ways to create an Operator Message.

Creating an Operator Message Manually

To create an Operator Message manually:

  1. Navigate to Configure > Admin > Automate > Job Definitions.
  2. Right-click the System_OperatorMessage Job Definition and choose Run.
  3. Enter a Message value.
  4. To give the operator a choice of responses, enter a Reply Expression parameter.
  5. Click Run.

Creating an Operator Message with a Status Handler

To generate Operator Messages with a Status Handler:

  1. Create or open a multi-Step Workflow Definition.

  2. Add a Request Restart Status Handler for the Step that should generate the Operator Message.

  3. Enter the text of the Operator Message in the Message field.

Creating an Operator Message with RedwoodScript

To create an Operator Message with RedwoodScript, use code like the following.

Copy
{
  OperatorMessage oMessage = jcsSession.createOperatorMessage();
  oMessage.setPartition(jcsSession.getPartitionByName("GLOBAL"));
  oMessage.setFullText("This Operator Message is a simple test");
  oMessage.setReplyExpression("^Well done!$");
  jcsSession.persist();
}

Note: For more examples, see Operator Message Examples.