Define the Generate Message Script

A script task contains a set of instructions, a script, that the ActiveMatrix BPM runtime environment can execute, after process deployment. Scripts are useful for many purposes: to manipulate, calculate or validate data.

Any script in a process must use JavaScript to remove any validation markers before process deployment.

However, during the design phase, a business analyst can simply add text to a script task to describe the desired behavior of the script. A solution designer can then implement the script as JavaScript.

Procedure

  1. From the WelcomeUsers-Process pane, select Generate Message.
  2. From Properties > General, click Script Defined As, and select Free Text.
  3. In Describe Task Script, enter the following:
    Please call <UserName> at <PhoneNumber>.
    Note: The script task has a validation marker because the script definition uses free text. See Implement the Welcome Message Script.
  4. Click away from the field to save.
  5. Press CTRL + S to save the changes.