Auto-start Workflows

Auto-start workflows extend asset processing in AEM as a Cloud Service by automatically invoking custom workflow upon upload or re-processing once the asset processing is complete.

NOTE
Use Auto-start Workflows for customizing assets post-processing rather than using Workflow Launchers. Auto-start workflows are only invoked once an asset is complete processing instead of launchers which may be invoked multiple times during asset processing.

Customizing the Post-Processing Workflow

To customize the Post-Processing workflow, copy the default Assets Cloud Post-Processing workflow model.

  1. Start at the Workflow Models screen by navigating to Tools > Workflow > Models

  2. Find and select the Assets Cloud Post-Processing workflow model

    Select the Assets Cloud Post-Processing Workflow model

  3. Select the Copy button to create your custom workflow

  4. Select your now workflow model (which will be called Assets Cloud Post-Processing1) and click the Edit button to edit the workflow

  5. From the Workflow Properties, give your custom Post-Processing workflow a meaningful name

    Changing the Name

  6. Add the steps to meet your business requirements, in this case adding a task when assets are complete processing. Make sure that the last step of the workflow is always the Workflow Complete step

    Add Workflow Steps

    note
    NOTE
    Auto-start workflows run with every asset upload or reprocess so carefully consider the scaling implication of workflow steps, especially for bulk operations such as Bulk Imports or migrations.
  7. Select the Sync button to save your changes and synchronize the Workflow model

Using a Custom Post-Processing Workflow

Custom Post-Processing are configured on folders. To configure a Custom Post-Processing Workflow on a folder:

  1. Select the folder for which you want to configure the workflow and edit the folder properties
  2. Switch to the Asset Processing tab
  3. Select your Custom Post-Processing workflow in the Auto-start Workflow selection box

    Set the Post-Processing Workflow
  4. Save your changes

Now your custom Post-Processing Workflow will be run for all assets uploaded or reprocessed under that folder.

recommendation-more-help
experience-manager-learn-help-assets