Creating an Upload Rule

After the application has run, an upload rule moves data that were created in your working directory to a category in the Process Composer database. You must have read/write access to a simulation activity to create an upload rule.

You can also create an upload rule and specify the data to upload when you create and configure an upload step.

See Also
About Rules
About Parameters
  1. From the search menu in the Top Bar, search for and select the simulation activity in which the upload rule will be created.
    Process Composer displays the simulation activity in the navigation pane and the table page.
  2. From the navigation pane, select Content.
    Process Composer displays the Content page.
  3. From the table page, select the documents or folder to upload. A selected document can be owned or referenced, or it can be an engineering document, as described in Collaborative Lifecycle: Document Management: Working with Engineering Documents.
  4. From the Actions menus, select Create Upload Rule.
  5. From the Create Upload Rule window that appears, do the following:
    1. Enter the Title of the rule.
    2. Select the Upload Step in which the rule will be executed.
    3. Choose whether the rule is Enabled. By default, the value is True and the upload rule will be executed. You can choose a value of False to run an activity without executing its upload rule.
    4. In the File Name field, enter the name of the source file to upload into the destination document. You can enter the path to the subdirectory (relative to the working directory), and you can use wildcards if you are unsure of the file name or if you want to import multiple files. You can enter multiple files in a comma-separated list; for example, steel.txt, aluminum*.txt, settings/loads.txt.
    5. By default, the upload rule refers to the document by an internal reference that does not change if the document is moved or renamed. Toggle off Content Reference to force the rule to refer to the name of the document. (If you toggle off Content Reference, you can change the data category in which the document resides and the document title.)
    6. Enter a description of the file that will be imported into the database in the File Comments field. When you display the file in a standalone window, the comment appears on the properties page. Process Composer applies the same comment to all of the files in versioned documents that match the upload rule criteria.
    7. If desired, choose the attribute groups that will be assigned to the new document created by the upload rule. If you choose more than one attribute group, the groups must not contain the same attribute.
    8. If the upload rule will create a new document in the database, you can select the document type and policy. You can also select whether the document is owned or referenced and whether an impact graph will treat it as input or output.
    9. If desired, choose an importer. The importer refers to a preprocessing script that operates on the files in your working directory before the upload rule is executed.
  6. Click Done to create the upload rule.