Workflow and ServiceDesk Community

 View Only
  • 1.  Listing specific files in List Files in Directory component

    Posted Jun 06, 2014 08:17 AM

    hi,

    I have created a List Files in Directory component, in that all files are being displayed but I specific file format like .csv only to be displayed in that component.

    Kindly help me out regarding the same.

    Thanks.



  • 2.  RE: Listing specific files in List Files in Directory component

    Posted Jun 06, 2014 08:26 AM

    You could run the output through a Configurable Collection Filter component to filter out all but CSVs (this is assuming that the List Files component doesn't already have a Filter property with it - don't have the tool in front of me now)



  • 3.  RE: Listing specific files in List Files in Directory component

    Posted Jun 09, 2014 03:59 AM

    reecardo,

    The Iterate text File Lines Component reads a file specifically from C:\Program Files\Symantec\Workflow\Designer\bin folder. I tried to keeping the file in some other folder but shows error in reading that file from that location. So is it possible that the process of reading that file can be done through other location with same component?



  • 4.  RE: Listing specific files in List Files in Directory component

    Posted Jun 09, 2014 07:27 AM

    What kind of errors are you getting reading a file? I'm guessing it's permission related... which you can easily fix by changing the folder/file permissions (keep in mind that running in debug runs as the logged in user, and running published runs as the user hooked up the the app pool its published under)