Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Working with Projects, Packages, and Processes : Process Fragments

Process Fragments
See "Process Fragments" in TIBCO Business Studio Concepts.
Migrating Fragments from Previous Versions
Any fragments that you created in previous versions of TIBCO Business Studio must be migrated to the current version, but the predefined fragments that TIBCO Business Studio provides do not need to be migrated because they are available in the current version.
To migrate fragments that you have defined, do the following:
1.
Select File > Import > General > Existing Fragments Projects into Workspace, and click Next.
2.
In the Import dialog, click Browse to select the directory where your fragments are located.
3.
Using the Predefined Fragments
To use one of the predefined fragments, do the following:
1.
2.
3.
In the Fragments view, there is a treeview that looks similar to the Project Explorer. This is the Fragment Explorer. Expand BPMN Process Fragments folder. This contains categories of BPMN process fragments.
4.
5.
6.
You can also use the Copy and Paste menu options either by right-clicking or by selecting from the Edit menu.
Creating Custom Fragments
If a portion of your process is one that you are likely to reuse in other processes, you can capture the useful part of the process and save it as a custom fragment.
1.
Create a new category by either right-clicking BPMN Process Fragments in the Fragment Explorer and selecting New > New Category or by clicking the Create New Category button ().
2.
3.
a.
b.
Importing Custom Fragments
You can import custom fragments from an archive file or a .bsProject folder.
Import an Archive File
1.
Create an archive file that contains the .bsProjects folder from your workspace. This folder contains your custom fragments.
2.
The recipient of the archive file can then import it. To do this, select File > Import > General > Existing Fragments Projects into Workspace, and click Next.
3.
In the Import dialog, select the Select archive file check box and click Browse to select the archive file that contains the fragments you want to import.
4.
Click Finish. The fragments are imported into the current workspace.
Import the .bsProject Folder
1.
Select File > Import > General > Existing Fragments Projects into Workspace, and click Next.
2.
In the Import dialog, select the Select root directory check box and click Browse to select the location of the .bsProject folder from the file system.
3.
Click Finish. The fragments are imported into the current workspace.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved