You can configure ATG Content Administration so the project type option in the Home page of the ATG Business Control Center calls the project workflow directly without calling a process workflow first. The following procedure shows how to set up your environment so it uses a single workflow model. Use this procedure to add as many project workflows as you need. After you add a workflow, you must re-assemble and redeploy your Web application.

  1. In the ACC, locate the project workflow that you want to use. By default, these workflows are located in Workflow > Publishing > Content Administration > Project. The default workflow standard.wdl is an example of a project workflow.

  2. Right-click the project workflow’s name and choose Duplicate Workflow Definition.

  3. Specify the folder that contains process workflows such as editAssets.wdl. These workflows are usually located in the top-level Content Administration folder.

    Note: Although you can create the duplicate workflow first and move it to the appropriate folder later, it is recommended that you move it at the time of creation. Errors can sometimes occur with duplicate workflows in the same folder.

  4. Give the duplicate workflow an appropriate name.

  5. Click OK.

  6. Open the new workflow for editing.

  7. Add the Create Project action element to the beginning of the workflow, before the first task element. Be sure to include the parameter without a workflow:

  8. Assign a display name and description to the new workflow. The display name appears in the Options list on the Home tab of the ATG Business Control Center.

    To edit the display name and description:

  9. Set appropriate access rights on the entire workflow and individual task elements.

    To set access rights for the entire workflow:

    To set access rights for a task element:

  10. Save changes to the new workflow.

  11. Re-assemble and redeploy the Web application containing ATG Content Administration. See the ATG Installation and Configuration Guide for assembly instructions.

Note: If you are editing a workflow with incomplete deployment elements—for example, a workflow with unspecified deployment targets—you cannot save the workflow after editing it. In this case, you should edit the workflow definition file directly. The following example shows part of a sample .wdl file. It contains the PDL (Process Description Language) tags for the Create a Project action shown above:

…
<!--================================-->
    <!--== startWorkflow  -->
<!--================================-->
<event id="1">
  <event-name>atg.workflow.StartWorkflow</event-name>
  <filter operator="eq">
    <event-property>
      <property-name>processName</property-name>
    </event-property>
    <constant>/Content Administration/MyWorkflow.wdl</constant>
  </filter>
  <filter operator="eq">
  <event-property>
    <property-name>segmentName</property-name>
  </event-property>
  <constant>main</constant>
</filter>
<attributes>
  <attribute name="atg.workflow.elementType">
    <constant>startWorkflow</constant>
</attribute>
<attribute name="atg.workflow.acl">
  <constant>Profile$role$epubUser:execute;
     Admin$role$managers-group:execute;
     Profile$role$epubSuperAdmin:execute;
     Admin$role$administrators-group:execute;
     Profile$role$epubManager:execute;
     Profile$role$epubAdmin:execute</constant>
</attribute>
<attribute name="atg.workflow.description">
  <constant>My Project Workflow</constant>
</attribute>
<attribute name="atg.workflow.displayName">
  <constant>My Workflow</constant>
    </attribute>
  </attributes>
</event>
<!--=====================================================-->
<!--== Create project without a workflow and process' project name  -->
<!--=====================================================-->
<action id="2">
  <action-name>createProjectForProcess</action-name>
</action>
<!--================================-->
<!--== Author  -->
<!--================================-->
<label id="3">
  <attributes>
    <attribute name="atg.workflow.elementType">
      <constant>task</constant>
    </attribute>

…

See the next section, Customizing Project Workflows, for more information on incomplete deployment elements. For more information on .wdl files and PDL, see the ATG Personalization Programming Guide.

 
loading table of contents...