Configuring a Delete Rule

You can remove content, such as documents and folders, from an activity during execution by creating a delete rule.

If the content is referenced content, the app removes the link to the content. If the content is owned content, the app deletes the content.


Before you begin: Create a simulation process. For more information, see Creating a Simulation Process.
See Also
About Rules
Managing Delete Content Rules
  1. From the Utilities section of the action bar, click Delete Content , and drop it on the process diagram.
  2. Click the Delete Content activity.
  3. In the shortcut toolbar, click Edit .
    The Delete Content dialog box appears.
  4. Click Create Delete Rule.
  5. Enter a Rule Name for the rule.
  6. From the Delete options, select one of the following:
    OptionDescription
    Specific Content Lets you select specific content to delete.
    Content by filters Lets you select the content to delete by filtering.
  7. If you selected Specific Content, select a specific file that is stored in the following category:
    OptionDescription
    Internal Data Deletes the internal data that contain intermediate results for a simulation process or activity, such as a restart file or a replay file.
    Specifications Deletes documents or objects that provide reference information for running the simulation process, such as requirements, scripts, documents containing dimensions or material data, instructions, or best practices.
    Results Deletes documents or objects that represent the results of the simulation process or activity, such as results files, updated CAD models, reports, animations, and plots.
  8. If you selected Content by filters, do the following to select the documents to delete:
    1. From the Category filter options, select one of the following:

      Option Description
      All Deletes content from all categories.
      Internal Data Deletes the internal data that contain intermediate results for a simulation process or activity, such as a restart file or a replay file.
      Specifications Deletes documents and objects that provide reference information for running the simulation process, such as requirements, scripts, documents containing dimensions or material data, instructions, or best practices.
      Results Deletes documents and objects that represent the results of the simulation process or activity, such as results files, updated CAD models, reports, animations, and plots.

    2. Enter the Title of the document to delete.

      Tips:

      You can specify wildcards to delete multiple content satisfying the given title filter criterion. Wildcards work only for documents under the selected category; they do not apply to the files contained within those documents. Filters are applicable only if wildcards are used and you manually enter the title.

      You can also enter a parameter expression and a comma-separated list. For example, ${myDocument}, *.doc.

    3. From the Type filter options, select one of the following:

      Option Description
      All Deletes versioned and non-versioned simulation documents and folders, including the content stored in them.
      Simulation Document - NonVersioned Deletes non-versioned simulation documents and the content stored in them.
      Simulation Document - Versioned Deletes versioned simulation documents and the content stored in them.
      Simulation Folder Deletes the simulation folders and the content stored in them.

      For more information about versioned and non-versioned documents, see About Documents

    4. From the Ownership filter options, select one the following:

      Option Description
      All Deletes content owned by the simulation process or activity and removes links to the referenced content.
      Owned Deletes content owned by the simulation process or activity.
      Referenced Removes links to the referenced content.

    5. From the Impact filter options, select one of the following:

      Option Description
      All Deletes content with any specified impact, including content with no specified impact.
      Input Deletes content specified as an input.
      Output Deletes content specified as an output.
      Input/Output Deletes content specified as both an input and output.
      None Deletes content with no specified impact.

  9. In the list of rules on the left side of the dialog box, select Enable for the delete rule to activate the rule at run time.

    If you clear Enable, the app ignores the rule at run time.

  10. Click OK.