Store Clause for the Add Policy Command

This clause identifies where files checked in under the policy are stored by default. All files must be stored as captured files. If you intend to associate files with business objects that are governed by the policy, you must include a Store clause in the policy definition.

For more information, see Add Store Command.

store STORE_NAME
  • STORE_NAME is the name of a previously defined file store. If the name you provide is not defined, an error message will result.

When using a Collaboration and Approvals app to check in a file, the person or company default store is used regardless of the store set by the policy.

For example, assume you have a policy for proposing and presenting drawings for review. These drawings could be of various types and formats. However, all information about the drawings can be contained in one file store. This file store identifies how the drawing files are managed and where they are stored. If you were to examine this policy, it might appear similar to the following:

add policy "Proposed Drawings"
   description "Policy for Drawing Proposal and Presentation"
   type Drawing, Layout, Schematic, Sheet
   format Cadra-III, Rosetta-preView, CCITT-IV
   defaultformat Cadra-III
   sequence "A,B,C,..."
   store Drawings
   state planned
      public all
     owner all
   state started
     public all, notenable, notdisable, notoverride
     owner all, notenable, notdisable, notoverride
     user Employee enable, disable
     user Manager override
     signature Complete
        approve Manager
        reject Employee
        ignore Designer
     signature Accepted
        approve Manager
        reject Manager
        ignore Manager
   state presented
     public all, notdelete
     owner all;

In this example, the policy governs four types of business objects and uses three different file formats. However, when a file is checked into a business object governed by this policy, that file is managed and stored according to the definition of the Drawings file store.

MQL users and programmers can override the store specified in the policy by including the store in the checkin command.

For more information, see Modify Policy.