Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 8 Procedures and Procedure Libraries : Export a Procedure

Export a Procedure
Follow this procedure to export a procedure from Procedure Manager .
To export a procedure:
the IPEADMIN user or IPEBACKGROUND user can export all procedures and sub-procedures.
Export a Procedure Interactively
The interactive method uses the swutil menu and displays prompts for each stage of the export. If you want to export a procedure without displaying all of the prompts, use the command line method. See Export Procedures Using Command Line Options.
To export a procedure:
1.
4 - Export a Procedure
The following prompt is displayed:

 
Working, Please Wait .....
Exporting a Procedure
Name of Procedure (<CR> to quit?)

 
2.
3.
Choose - choose from a list of versions. See step 4.
Always choose - if you are exporting multiple procedures, select this to choose from a list for each procedure without displaying the question.
Same version for all - if you are exporting multiple procedures, you can specify a version number that will be used for all remaining procedures you export.
Default - select this option to use the default version.
4.

 
There are 5 versions of this procedure:
0) 1.4 is the default version
1) 1.1 'm'odel /
2) 1.2
3) 1.3 'w'ithdrawn /
4) 1.4 'r'eleased / 'n'o preference /
5) 1.5 'u'nreleased /
Select r,u,m,w,n or index of desired procedure version 0 - 5 :0

 
Select the version of the procedure to export from the list shown. You can select a version either explicitly, by its version number, or based on its release status:
To select a specific version number, enter the version’s index number - 0, 1, 2 or 3 in the example above.
To select a version by release status, enter the appropriate letter. In the example above:
entering r selects the current Released version, which is Version 1.4.
entering u selects the current Unreleased version, which is Version 1.5.
entering w selects the latest Withdrawn version, which is Version 1.3.
The following table shows the full list of release status options that can be shown by the command.
5.

 
Change default sub-procedure precedence order (rumiwxn)?
‘Y’es change (‘A’lways use new), ‘N’o - default (‘S’kip - always default)

 
If you choose Y, you are prompted to change the precedence order:

 
What precedence order should be used for
exporting any sub-procedures found ?

'r'eleased|'u'nreleased|'m'odel|
'i'ncomplete|'w'ithdrawn|'x'|'n'

Enter order using key above (default is rumiwxn):

 
If you select an invalid status option, then the sub-procedure will not be exported. To overcome this, it is better to enter a range of status options and include ’n’ for no preference. This means that even if the previous status options you have chosen are invalid, the sub-procedure will always be exported. See TIBCO iProcess Modeler Procedure Management for more information about precedence.
6.
object author is the name (or other identifier) of the iProcess user who created the object.
release identification is free text that you can use to identify the procedure as you wish.
date object created is the date and time that the procedure was created.
date object modified is the date and time that the procedure was last modified.
For each option, you can either respond with Yes, No, A (Yes and apply to all), Skip or Quit
7.
8.
9.
The procedure and any sub-procedures are exported to the file SWDIR\util\procname.xfr. If any use files are referenced, a copy of the file (in the iProcess SWDIR\nodename.n\use directory) is included in the exported file. Also, any VBA projects used in the procedure are exported.
Export Procedures Using Command Line Options
To export one or more procedures using the swutil EXPORT command line options, use the following command:
swutil EXPORT [procedure] [directory] [options]
where:
procedure is the name of the .xfr file to export.
directory is the directory to export the procedure.
To export a procedure (for example, carpool.xfr) to a directory outside of SWDIR/util (for example, /Dept/Purchasing), run the following command:
swutil EMPORT carpool /Dept/Purchasing
If this is unspecified, the procedure is exported as a .xfr file to the SWDIR/util directory by default.
options can be one or more of the following to suppress or change a specific option:
+a author
Changes the value of Author to the supplied author value.
+c “YY:MM:DD HH:MM
+e version/precedence
Do not prompt for the version of the procedure to export but use the specified version or precedence value, for example, +e 3.0 or +e rumiwxn.For more information about precedence, see TIBCO iProcess Modeler Procedure Management.
+m “YY:MM:DD HH:MM
+r relid
+v major.minor
+x precedence
Example
To export a procedure called APPLY1 where you want to define a new Author called Fred and a Release ID of Release1 and want to suppress all other prompts byswutil, you can enter the following command:

 
swutil EXPORT apply1 +ar Fred Release1 -celmstvx

 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved