Workflow to move files | Community
Skip to main content
August 20, 2024
Solved

Workflow to move files

  • August 20, 2024
  • 2 replies
  • 719 views

I am looking to build a workflow that will check for specific metadata that is added by a metadata profile.

Once the metadata is validated I want the workflow to move those files to a new folder.

I should be able to do that within the workflow tool and not using code in CRX.

Any help is appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by digarg17

Metadata from metadata profile is added at time of upload of asset in specific folder on which profile was applied.

yOu can perhaps add a launcher on "asset created" event under specific folder and check if specific metadata property exists then launch a workflow. That workflow code however should have move logic - (Source & destination).Custom code will be needed to move assets automatically to new folder else assign a participant step where someone manually moves it.

2 replies

digarg17Adobe EmployeeAccepted solution
Adobe Employee
August 21, 2024

Metadata from metadata profile is added at time of upload of asset in specific folder on which profile was applied.

yOu can perhaps add a launcher on "asset created" event under specific folder and check if specific metadata property exists then launch a workflow. That workflow code however should have move logic - (Source & destination).Custom code will be needed to move assets automatically to new folder else assign a participant step where someone manually moves it.

khamat_bn
Level 4
August 23, 2024

Hello @gregba4 , 
Three thing you need to perform to achieve this

  1. Make sure you have added the required metadata property and if needed then author it in the particular Asset or you can make some default value (Will not make sense if we keep it default).
  2. You need to create Custom Workflow with process step and need to add logic to check Metadata property of payload and if falls under criteria then moving the file.
  3. Also you can consider to create the launcher for this as suggested by @digarg17  , so that you don’t have to manually run this.