Skip to main content

Hi All,

I am trying to use workspace runner for one my task.i have around 50 GDB which i want to run using one of my other workbench output of this workbench is going to be in XML . that is reason why i had thought of using workspace runner. I am using path reader to specify the folder , where i had kept my GDB's . I want my output XMl's to be stored in folder with name of input file GDB. not sure how i can do that . the workbench which i will be running using the work space runner has already set for segregate the output XML base on other fan out criterion. any help will be appreciated on this on how i can stored my XML's in folder with input GDB name .

There's a few useful attributes coming out of the Path reader: path_unix (or path_windows, depending on your OS) and path_rootname. I've used those to set up the workspacerunner like this:

path_rootname contains the name of the GDB (without the .gdb) and is used to specify the name of the output file.


There's a few useful attributes coming out of the Path reader: path_unix (or path_windows, depending on your OS) and path_rootname. I've used those to set up the workspacerunner like this:

path_rootname contains the name of the GDB (without the .gdb) and is used to specify the name of the output file.

Hi redgeographics,

 

thank for your help . i tried using your solution and it works fine but it just takes the first GDB and create the output for that and then it stops. dosen't go for the rest of the GDB's
Hi redgeographics,

 

thank for your help . i tried using your solution and it works fine but it just takes the first GDB and create the output for that and then it stops. dosen't go for the rest of the GDB's
That's odd. How many features are coming out of the Path reader?

 

 


That's odd. How many features are coming out of the Path reader?

 

 

for test i had just taken 2 GDB's .. so it shows 3 feature from path reader but out is created for 1st GDB only.

 

 


for test i had just taken 2 GDB's .. so it shows 3 feature from path reader but out is created for 1st GDB only.

 

 

It might be due to how the child workspace is set up. I've created mine to be a simple dynamic A-to-B translation. Could you share the logs of both workspaces?

 

 


That's odd. How many features are coming out of the Path reader?

 

 

Hi redgeographics.. thnks a lot . i have recreated everything and it worked .

Reply