Use a Sling Merge to add the following inputs to the Review Task creation wizard. The key elements are collection the paths in properties name onApproveMoveTo and onRejectMoveTo. Valid values are absolute paths to folders under /content/dam.
Since v2.6.0/3.2.0 the property onReviewConflictResolution has been added with valid values new-version, new-asset, replace and skip (See below for descriptions).
Examples for AEM 6.0/6.1 and AEM 6.2 are provided below.
Asset Collision Support (Since v2.6.0/3.2.0)
Prior to v2.6.0/3.2.0 when a reviewed asset was moved into a folder with an asset with the same node name, and exception would occur. Now on a per-review task basis, the following collision resolution can be selected
Create as new version (default)
Creates a new version of the conflicting asset in the accepted or rejected folder and then updates the renditions and metadata node trees with that of the reviewed asset. Asset in the review folder is removed.
Property value: new-version
Create a new asset
Creates a brand new asset in the accepted/rejected folder with a uniquely prefixed node name (using today’s date). Asset in the review folder is removed.
Property value: new-asset
Replace
Removes any conflicting assets in the accepted/rejected folder and moves the reviewed asset over in its entirety. Asset in the review folder is removed.
Property value: replace
Skip
Skips moving the reviewed asset if a conflict exists. Asset in the review folder is NOT removed.
On AEM 6.2 or above, this service uses a Service User for repository access. This user is configured with
the expected permissions required, but additional permissions may be required if your repository design
deviates from the expected structure.
User name: acs-commons-review-task-asset-mover-service