Page tree

The rule sets that you imported in Setting up for manual data entry include two system-level rule sets: the PLA System Level Rule rule set and the PLA System Level Rule-Versatile Layout Home rule set. Only one system-level rule set for PLA can be in use at a time.

  • To store XML job tickets in a central repository, use the PLA System-Level Rule rule set (procedure on this page).
  • To store XML job tickets in the newly-created job, use the PLA Versatile Layout home rule set
  1. Open the PLA System Level Rule and configure the Create Layout action.
    1. To open the Create Layout action, double-click the line between the Read XML and the Create Layout actions.
    2. To set the Layout Output Path parameter (the location of the folder where you want the layout XML files to be generated), select the Layout Output Path box, and then browse to select the directory.
      Tip: Set this directory to be the PLATemplateJob\UserDefinedFolders of the template job created in Setting up for manual data entry—for example, \\<server>\volume>\Jobs\PLATemplateJob\UserDefinedFolders. Using a standardized setup makes the system easier to troubleshoot by service personnel. When browsing to set the directory, select (do not open) the final directory before you click OK to set the path.
    3. To close the Create Layout action, click OK.
  2. Open the editor and configure the Create Job action.
    1. Double-click the line before the Create Layout action.
    2. Set the Template Job parameter to PLATemplateJob ( or the name you created for the template job).
    3. (Optional) At this point you can also set the locations of the Job Home Server, Job Home Share, and Job Group. If there are any server paths or share names in the sample rules that do not belong to the install environment, delete them from the Value lists.
  3. Save the rule set.
  4. Select the rule set and click Enable.
    It is now set at the system level.
  5. (Optional) Select and enable one of the "delete" rule sets that can be used with the PLA system-level rule. 

    Delete rule set
    Information
    To configure the rule
    No "delete" rule set is enabledDeleting a layout on the PLA Client deletes only the XML template in Layout Automation Manager and leaves the Prinergy Workflow layout untouched.Not applicable
    PLA Delete Prinergy Layout

    If enabled, deleting a layout in the PLA Client also deletes the corresponding layout in Prinergy Workflow.
    Important: This rule is convenient for cleaning up outdated Prinergy Workflow layouts from the Packaging Layout Automation Client, but it also allows operators to accidentally delete layouts in Prinergy Workflow. Consider your work environment carefully before enabling this rule.

    Double-click the line between the Remove Layout and Delete Files actions to open the Delete Files action. 

    Set the Files to delete parameter:
    <layout file location> with the same folder specified in the Layout Output Path parameter in the PLA System Level Rule configured earlier in this procedure. Do not delete the text that appears after the <layout file location> placeholder.

    Delete PLA Job and Layouts Only

    This rule set deletes only the PLA job elements and doesn't delete Prinergy Workflow layouts or jobs. Use it only if you are not using the PLA Delete Prinergy Layout rule set.

    Double-click the line between the branch Is this the last Layout in the Job? and the action that indicates YES: Then delete entire PLA Job Folder and contents and set the Files to delete parameter:

    <layout file location> with the same folder specified in the Layout Output Path parameter in the PLA System Level Rule configured earlier in this procedure. Do not delete the text that appears after the <layout file location> placeholder.

    Or,

    Double-click the line between the branch Is this the last Layout in the Job? and NO: Then delete only the PLA Layout specified and set the Files to delete parameter:

    Click the ellipses. For the two paths appearing in the file list, update the <layout file location> with the same folder specified in the Layout Output Path parameter in the PLA System Level Rule. Do not delete the text that appears after the <layout file location> placeholder. The %triggerEvent.Previous.JobName% portion and what follows it must be retained.

  6. Use the PLA Custom Event sample rule to test that PLA custom events are being received by Prinergy Workflow.
    You can use custom events to create events to delete layouts or jobs in Prinergy Workflow from the PLA Client. 
    Note: PLA custom events can be used to activate any number of different processes in RBA by using a Select One filter. Knowledge of RBA is required to configure rules using PLA custom events.

    1. Open the Write Text To File action.
    2. Change the server path under Assign the value of the action parameter FilePath from \\CN-PDC-P5110\AraxiVolume_CNPDC-P5110_J\===CAE.TXT to your server's \JobVolume\File path.
      The name of any PLA custom event is written into the text file. 

  7. Use the PLA XML Validation Failed Warning to notify operators or customer service representatives if submitted jobs fail validation. When a mail server is configured in the Configure RBA menu in Prinergy Administrator, you can set up this rule to send an e-mail message.
    For instructions on setting up e-mail alerts to be generated from events, see the Prinergy Rules-Based Automation User Guide.

  • No labels