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 Definitions > Processes.
  2. Right-click the System_OperatorMessage Process Definition and choose Submit.
  3. Enter a Message value.
  4. To give the operator a choice of responses, enter a Reply Expression parameter.
  5. Click Submit.

Creating an Operator Message with a Status Handler

To generate Operator Messages with a Status Handler:

  1. Create or open a multi-Step Chain 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.