Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'zh'

...

languageen

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.

...

languagezh

您在设置手动数据输入中导入的规则集包括两个系统级规则集:PLA 系统级规则规则集和 PLA 系统级规则-通用版式主页规则集。 一次只能使用一个 PLA 系统级规则集。

  • 要将 XML 作业传票存储在中央存储库中,请使用 PLA 系统级规则规则集(此页面上的步骤)。
  • 要将 XML 作业传票存储在新创建的作业中,请使用 PLA 通用版式主页规则集。 

...

  1. 要打开创建版式操作,请双击读取 XML创建版式操作之间的线。
  2. 要设置 版式输出路径参数(您想要生成版式 XML 文件的文件夹位置),请选择“版式输出路径”框,然后浏览以选择目录。
    提示:将此目录设置为在设置手动数据输入中创建的模板作业的 PLATemplateJob\UserDefinedFolders — 例如,\\<server>\volume>\Jobs\PLATemplateJob\UserDefinedFolders。 使用标准设置让服务人员更易于对系统进行故障排除。 当浏览以设置目录时,请在单击“确定”设置路径前,选择(不要打开)最终目录。
  3. 要关闭创建版式操作,请单击“确定”。

...

  1. 双击“创建版式”操作之前的线。
  2. 模板作业参数设置为 PLATemplateJob(或者设置为您为此模板作业创建的名称)。
  3. (可选)此时您还可以设置 本地作业服务器本地作业共享作业组的位置。 如果在示例规则中的任何服务器路径或共享名称不属于安装环境,请从“”列表将其删除。

...

(可选)选择并启用可与 PLA 系统级规则同时使用的其中一个“删除”规则集。 

...

“删除”规则集

...

信息

...

若要配置规则

...

如果启用,删除 PLA 客户端的版式也将删除印能捷工作流程中响应的版式。
重要提示:此规则有助于从 Packaging Layout Automation 客户端清除过时的印能捷工作流程版式,同时可能会造成操作员意外删除印能捷工作流程中的版式。 在启用此规则之前,请仔细考虑您的工作环境。

...

双击删除版式删除文件操作之间的线以打开删除文件操作。 

设置要删除的文件参数:
<layout file location> 具有与先前在该步骤中配置的 PLA 系统级规则版式输出路径参数中指定的相同文件夹。 请勿删除 <layout file location> 占位符后显示的文本。

...

此规则集仅删除 PLA 作业元素,不会删除印能捷工作流程版式或作业。 仅在您未在使用 PLA 删除印能捷版式规则集时使用它。

...

双击分支“这是作业中的最后一个版式吗?” 和表示“是:然后删除整个 PLA 作业文件夹和内容”操作之间的线,并设置 要删除的文件参数:

<layout file location> 具有与先前在该步骤中配置的PLA 系统级规则版式输出路径参数中指定的相同文件夹。 请勿删除 <layout file location> 占位符后显示的文本。

或者,

双击分支“这是作业中的最后一个版式吗?” 和不:然后仅删除指定的 PLA 版式,并设置要删除的文件参数:

单击省略号。 针对文件列表中显示的两个路径,将 <layout file location> 更新为具有与 PLA 系统级规则版式输出路径参数中指定的相同文件夹。 请勿删除<版式文件位置> 占位符后显示的文本。 %triggerEvent.Previous.JobName% 部分和其后的部分必须保留。

...

使用 PLA 自定义事件示例规则测试印能捷工作流程接收的 PLA 自定义事件。
您可以使用自定义事件创建事件,从而从 PLA 客户端删除印能捷工作流程中的版式或作业。 
注意:通过使用“选择一个”过滤器,PLA 自定义事件可用于激活 RBA 中的任意数量的不同进程。 需要具备 RBA 相关知识才能使用 PLA 自定义事件配置规则。

  1. 打开“将文本写入文件”操作。
  2. 更改分配操作参数 FilePath 的值下方的服务器路径(从 \\CN-PDC-P5110\AraxiVolume_CNPDC-P5110_J\===CAE.TXT 到您的服务器的 \JobVolume\File 路径)。
    任何 PLA 自定义事件的名称将写入到文本文件。 

...