Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Creating Scripts

All types of tasks can have scripts that write information to a destination-specific system. User tasks can have scripts that are run, for example, when the work item is opened or closed.

On the Scripts tab, you can add text that describes these scripts. The solution engineer translates the outline of the script into a scripting language supported by the selected destination environment.

Procedure
1. Click the task to which you want to add a script.
2. In the Properties view for the task, click the Scripts tab.
3. The Scripts available are divided into two sets, Process Manager Scripts and Work Manager Scripts. Open the set you require (if one set is not available to you for this task, it is disabled).

4. Click the tab for the desired type of script. Any tabs that have scripts defined have a script icon before the script name. Tabs with no defined script have an empty script icon. In the image, a script is defined for the Initiate Script and Cancel Script tab.
5. Select Free Text from the Script Defined As list. Describe your script in the area provided. For more information about how the various types of scripts are implemented, see the appropriate implementation guide.

Result
Note: You can highlight tasks in a process that contains scripts. Click the Process Editor for the process. The Enable/Disable highlighting button is displayed on the toolbar.

Click the Enable/Disable highlighting button () to see the drop-down list, and select Highlight Activities with Scripts.

This option highlights all activities in a process that contain scripts, and all other activities are grayed out.

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 Business Studio™ - BPM Edition

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