Watched Folder Payload Directory Not Created | Community
Skip to main content
August 16, 2022
Solved

Watched Folder Payload Directory Not Created

  • August 16, 2022
  • 1 reply
  • 843 views

Hey everyone,

 

I configured a watched folder to execute an AEM workflow when a user inserts a file inside the input folder. That is working correctly, but the payload directory the workflow creates does not seem to appear in the CRX manager.

 

For example, from the instances menu I was able to obtain the payload directory it "created": /etc/fd/watchfolder/staging/WatchedFolder_PackagingSketch_SendPackagingSketchProces/Pxde67e262aaba5b6a60d16546

 

But when I want to troubleshoot something or maybe look at a file in the payload, the last "Pxde67e262aaba5b6a60d16546" does not seem to be generated:

 

Am I missing any type of configuration with the watched folder I created or is this a known issue/behavior?

 

Thanks,

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 Nikhil_Verma

Hi @sebasrios ,

 

I tried out the above use case, and I can see the payload in the CRX:

 

However, something to note here is that the workflow hasn't completed yet and is still running. If the workflow was to complete and archive, this payload also goes away.

 

Can you check if your workflow is still running (if it in Instances section) or if it is completed (if it is Archive section)?

 

Also FYI, you can access the input file from your watch folder on the file system as well:

- If the workflow is still running, you can find it in the 'stage' folder.

- If the workflow is complete, you should see it in the 'result' folder.

You can find the exact filesytem path from the workflow node in CRX:

1 reply

Nikhil_Verma
Nikhil_VermaAccepted solution
August 18, 2022

Hi @sebasrios ,

 

I tried out the above use case, and I can see the payload in the CRX:

 

However, something to note here is that the workflow hasn't completed yet and is still running. If the workflow was to complete and archive, this payload also goes away.

 

Can you check if your workflow is still running (if it in Instances section) or if it is completed (if it is Archive section)?

 

Also FYI, you can access the input file from your watch folder on the file system as well:

- If the workflow is still running, you can find it in the 'stage' folder.

- If the workflow is complete, you should see it in the 'result' folder.

You can find the exact filesytem path from the workflow node in CRX: