Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Adding a Computation Action Using the Outline View

You can add a computation action from the Outline view.

Procedure
1. In the context-menu of Shared Actions, select New Computation Action.
2. In the Enter the Action Details dialog box, type or select data as explained in the table Specify Details to Define a New Computation Action.

   Specify Details to Define a New Computation Action
   Field | Description
   --- | ---
   Name | Type the name for the new action. The name is only visible when the Solutions Design mode is active. The name must be unique among all actions in form and must be comprised only of alphanumeric characters and the underscore “_”. The name might be referenced from the JavaScript of other actions when using the `invokeAction` method.
   Label | Type a descriptive label for the new action. The Label is used in other parts of the Form Designer to identify the action. It is not used at runtime.
   Destination | Click the Browse (...) button to select a property to update with the results of the script evaluation. Once you select the value, it appears in the Destination window, such as `Value of Claim Amount (ClaimAmount)`.
   Expression | Type the script that is evaluated in order to update the property selected in the Destination field. This is a JavaScript expression. The expression might contain multiple lines, but the last line in the script must be an expression that is used to update the destination. Note: Do not use a return, since you are not writing a function.

3. Click Finish.

   The new script action button is displayed in the Outline view indicating a shared action.

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.