Documentation Center

The main publish process

Overview of the calls, background tasks and plugins involved in the main publish process.

Hitting Publish starts a chain of calls that involves, in this order:
  • The ISHRAISEPUBLISHEVENT write plugin
  • The PUBLISHDITADELIVERY background task
  • A list of publish post process plugins
  • The DITADELIVERYCHECKREMOTESTATUS background task
  • The ISHDITADELIVERYUPDATE write plugin
  • The DITADELIVERYUPDATEPUBLICATIONMETADATA background task

In the following diagram, all Status changes affect the Publication output format status.

Acronyms:
  • BT: Background task
  • RC: Release candidate

Details
  • Event log.

    The PUBLISHDITADELIVERY and DITADELIVERYCHECKREMOTESTATUS background tasks log into the same event, and DITADELIVERYUPDATEPUBLICATIONMETADATA log into a separate event.

  • Task 2: Select background task.

    ISHRAISEPUBLISHEVENT selects the appropriate background task depending on the published output format. Publish to the Dynamic Delivery output format is plugin-based, whereas publish to the other output formats is script-based.

  • Task 7: Select plugins.

    The list of publish post process plugins that are run depends on the configuration. You can find the default list of plugins in the Publish post process plugins section of Tridion Docs documentation.

  • Task 9: Check for background task.

    Some of the post process plugins schedule a deploy task that starts after completion of the PUBLISHDITADELIVERY. Out of the box it triggers DITADELIVERYCHECKREMOTESTATUS specifically. The presence or absence of this schedule determines the new status.

  • Plugin ISHDITADELIVERYUPDATE.

    This plugin is triggered by a change of certain types of publication output metadata, either during the publish process itself or by a direct action of the user.