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 a fault schema.
-
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.
- Click OK when you are prompted to change the target platform to design time during the code generation process.
Copyright © Cloud Software Group, Inc. All Rights Reserved.