A simulation activity can contain the following types of steps:
An application cannot operate on data that reside in Process Composer. To make data available to an application, Process Composer uses a simulation activity's download and upload steps to move data to and from the working directory. A step in a simulation activity can operate on the following:
In addition, a download folder step in a simulation activity can operate on a referenced bookmark folder, a simulation folder, or a data category and download an entire hierarchy of folders and documents into corresponding directories and files in your file system. Likewise, an upload folder step can upload a hierarchy of directories and files in your file system into corresponding Process Composer folders and documents. Folder steps are described in About Download and Upload Folder Rules. When Process Composer runs a simulation activity, it typically performs the following steps:
When you create a simulation activity with predefined steps, the new activity will contain each of the four steps--download, OS command, delete, and upload. You can add steps to a simulation activity, and a simulation activity can contain multiple download, OS command, delete, and upload steps. You can choose to pause the activity after any of these steps or to skip any of the steps altogether. For example, you might choose to run the download steps and run the application and then examine the files that were created before you upload them back into Process Composer. See Pausing, Continuing, Synchronizing, and Aborting Jobs for more information. Steps use rules to operate on documents. The following figure shows a simulation activity that
runs an application, such as Abaqus/Standard, in your working directory. The download step
uses a download rule to move documents from the specifications category to the working
directory. The activity runs the application, which reads data from files in the working
directory and generates additional files. The delete step uses delete rules to remove old
documents from the results category (in preparation for receiving new results). Finally, the
upload step uses an upload rule to move the new files from the working directory into a
document in the results category. An application's working directory is specified by your system administrator during the installation of each 3DOrchestrate Station. See the 3DOrchestrate Installation and Administration Guide for more information. Documents and their files are downloaded and uploaded relative to the working directory. Specifically, if an application's working directory is specified as wdir, documents and files are downloaded to and uploaded from wdir\user_name\job_name, where user_name is the user name that you used to log in and job_name is a unique string created by Process Composer specifying the name of the job. When you download a document that is stored in a folder, the folder name appears as a directory under your working directory. In addition, you can choose whether the category name will also appear as a directory under your working directory. Similarly, you can upload files into a specified category, or you can include the category as a directory in the path to the file you are uploading. You can use parameter expressions when you are defining a step. For example, you can use a parameter expression to define the document title in a download or upload step. See Using a Parameter Expression in Rules for more information. You can display the content of a simulation activity and select Steps from the navigation pane to display the Steps page. The Steps page toolbar allows you to create a step; however, you must specify the name of the document that will be downloaded, uploaded, or deleted, and you cannot create a step that refers to the document by reference. You can also use the toolbar to edit or run an existing step. In addition, the Actions menu on the Steps page toolbar allows you to do the following:
Select a step from the Steps page to display the Steps Configuration page and to operate on the rules within a step. For example, you can create or edit a rule, and you can preview the files that will be downloaded or deleted by a rule. You can choose to run a step independent of the simulation activity that contains the step. In effect, you are running only the rules defined in the step. For example, you may want to simply download or upload a file or run an OS Command without having to run all of the steps defined in a simulation activity. You can specify whether a simulation activity will use VPM data or a document for input or output; you can also specify if the data category or folder that contains the document will be used for input or output. Process Composer uses this information to generate an impact graph. Impact graphs help you understand the relationship between a simulation activity and its input and output data, along with the impact of making changes to any of the data. See About Impact Graphs for more information. Although Process Composer uses the input and output settings to create impact graphs, the settings are independent of the download and upload rules. |