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.
Customizing the Post-Processing Workflow
To customize the Post-Processing workflow, copy the default Assets Cloud Post-Processing workflow model.
-
Start at the Workflow Models screen by navigating to Tools > Workflow > Models
-
Find and select the Assets Cloud Post-Processing workflow model
-
Select the Copy button to create your custom workflow
-
Select your now workflow model (which will be called Assets Cloud Post-Processing1) and click the Edit button to edit the workflow
-
From the Workflow Properties, give your custom Post-Processing workflow a meaningful name
-
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
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. -
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:
- Select the folder for which you want to configure the workflow and edit the folder properties
- Switch to the Asset Processing tab
- Select your Custom Post-Processing workflow in the Auto-start Workflow selection box
- Save your changes
Now your custom Post-Processing Workflow will be run for all assets uploaded or reprocessed under that folder.