Open topic with navigation

TIBCO® BPM Enterprise 5.5.0

# Implement the Generate Message Script

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

Process objects, such as data fields or user tasks, have a Label and a Name. A Label can contain spaces or non-alphanumeric characters. TIBCO Business Studio - BPM Edition automatically generates the Name for the Label and removes spaces and non-alphanumeric characters.

Perform the following procedure to add the appropriate JavaScript code.

Procedure
1. From the WelcomeUsers-Process pane, select Generate Message.
2. From Properties > General, click Script Defined As, and select JavaScript.
3. In Describe Task Script, add the following JavaScript:

       data.Message = "Please call " + data.UserName + " at " + data.PhoneNumber + "."

   Note: Generate Message no longer has a validation marker.
4. Click outside the field to save.
5. Press Ctrl+S to save the changes.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® BPM Enterprise

Copyright © 2015-2024. Cloud Software Group, Inc. All Rights Reserved.