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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Counting number of xml-files in the content space.

Avatar

Level 2

Hello everyone.

I have a process, which stores an xml-data from pdf form in content space in some folder "MyformData".

I need to give a unique name to  every file in this folder and return this name(Id) to the from .How  can I do it ?

Are there any instruments to generate unique Id with help of Workbench or how can I calculate the number of xml-files in  MyformData (n) to give the next file name n+1, for examle?

Thank you.

0 Replies

Avatar

Level 10

The /process_data/@id will give you a different process id every time you execute your process.

Would that work?

Jasmin

Avatar

Level 2

Thx. I guess it can be used.

And what about counting number of xml-files in Content space? Is there any function to do this?