Adding and Configuring Activities
An activity is an individual unit of work in a process. Each activity is represented by an icon in TIBCO Business Studio and consists of a set of configurations.
Procedure
- In the Name field, type a name of the activity that you want to create.
-
From the
Type list, select an activity type.
See Activity Types for more details.
-
By default,
is used as the activity icon. If you want to change the activity icon, click the text box next to the Icon field, and select an icon to represent the activity.
The supported image formats are .jpg, .gif, .png, and .jpeg. The size of the icon must be 48x48 or larger. BusinessWorks Plug-in Development Kit automatically generates the icon in size of 16x16, 32x32, and 48x48. -
Click
Go to configure the activity. Click
to add attributes for the activity. Each activity attribute contains the following properties:
-
From the
Resource schema type list, select a way to generate the input, output, and fault schema:
- If you select XSD/WSDL, click Browse to locate an XSD file or a WSDL file. BusinessWorks Plug-in Development Kit automatically generates input, output, and fault schema according to the XSD or WSDL file. See Creating Schema with XSD/WSDL for more details.
- If you select Java Code, BusinessWorks Plug-in Development Kit automatically generates a sample code of input and output.
- If you select XSD Editor, you have to manually create input, output, and fault schema. See Creating Schema with XSD Editor for more details.
- If you select None, no input and output are generated. BusinessWorks Plug-in Development Kit generates default schema for fault.
-
Click
Apply to save your configurations.
You are now directed to the Define Activities, Process Starters and Signal-In dialog. Go back to Step 1 to add more activities.
- Click Finish to generate code for the defined palette and activities.
-
Change the target platform to running platform for the design-time module.
- Click Window > Preferences, and then click Plug-in Development > Target Platform.
- Click Add to add a running platform for the design-time module.
- In the Target Definition dialog, click Default to choose the running platform. Click Next.
- In the Target Content dialog, click Finish.
- You are back to the Target Platform dialog, select the Running Platform (Active) check box. Click Apply, and then click OK.
By default, the target platform is bw-runtime after launching TIBCO Business Studio. See Target Platform for more details.
- Close the runtime bundle and feature, and open the design bundle and feature.
Copyright © Cloud Software Group, Inc. All Rights Reserved.