Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

watched folder aem forms jee

Avatar

Avatar
Validate 1
Level 1
tommyk56668182
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
tommyk56668182
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
tommyk56668182
Level 1

07-10-2019

Hi,

we are working on a solution to convert a lot of different files to PDF/A.

The input to the process is a folder, containing the files.

The input-folder is stored as a list-variable with the documents

I am trying to get the name of the input-folder. Is there a simple way to this in workbench?

regards

Tommy

Accepted Solutions (0)

Answers (4)

Answers (4)

Avatar

Avatar
Level 1
ToKack
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
ToKack
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
ToKack
Level 1

09-10-2019

Hi,

we will have two ways to recieve documents.

Either they drop a folder with a name that represents the archive number.

We convert and validate the documents and return a list of documents to the result-folder.

Or we recieve singel files and we convert/validate and return a PDF/A.

I have found one way to get the foldername by using the attrrbute - wsfilename -  from the first document in the list.

We then extract the foldername from that string.

In most of the cases, it is good enough to use the %F\ as a parameter for the output-folder when we config the Watch folder endpoint.

But in some cases, we need to save the result folder some where else and that is the reason why I was looking for a way to get the name of the incoming folder.

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

09-10-2019

So I assume your input to watch folder is file only? If not, can you give a input flow diagram for the process?

Avatar

Avatar
Validate 1
Level 1
tommyk56668182
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
tommyk56668182
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
tommyk56668182
Level 1

08-10-2019

Hi,

yes, we are using watched folder.

//Tommy

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

08-10-2019

Hi Tommy,

Are using watch folder?