Request Quote » Request Quote »

Delete Files Specification Task

←  Back to DriveWorks Extensions
File Type
.dll
Language Used
C#
DriveWorks Authorized Services Partner

Business need for the extension

We faced situations that needed us to delete multiple files that were pre-existing and those that are created during DriveWorks generation process to meet the process flow needs. To delete multiple files at once, we developed a custom Add-In (DriveWorks Specification Task).

DriveWorks’ inbuilt functionalities do not have any task that allows the user to delete two or more files from a folder location without having to use the pre-existing ‘Delete File’ task multiple times or using it in a loop. We have created “Delete Files” Specification Task that allows the users to pass in the list of files that needs to be deleted from the folder location with ease.

Description:

Remove Files Extension

The “Delete Files” task allows you to delete multiple files (any extension) from specified folder location. During deletion process, all the success and failures of files whether it was deleted successfully, files were missing i.e., either incorrect file name or file location was provided in the list, are all recoded in the reports.

How the extension works?

This task can be used as per user needs. The user may want to delete files which already exists or may want to perform this task after certain files are generated by DriveWorks and no longer required at a certain state in DriveWorks flow. For the later, the user can use DriveWorks Triggered actions functionality to allow the tool to watch the document to be generated and then perform the tasks.

DriveWorks Pro 2017 help file Stage 4: Output Rules->Documents->Documents-Data

Remove Files Extension

One can create a Trigger action which allows a specification to transition to a state once one or more than one number of file has been created. In this instance the file list which needs to be deleted as Triggered actions can only be processed by DriveWorks Autopilot. This in turn keeps a watch on the location of files mentioned in the Trigger Action document. Once all the files listed in the Trigger action which also happens to be the few from list of files to be deleted is generated, DriveWorks now allows the Specification Task (Delete Files) to occur during the transition.

The image alongside represents the use of the Delete Files Specification Task.

File List: This input field accepts list of file names which are separated by a pipe bar “|”.

Implement DriveWorks with us today!  »

Related DriveWorks Plugins

Related Blog
Demo Looking to Automate your Design Processes?

Our team of experts can help speed up your product configuration, increase sales & productivity.

India: +91-794-000-3252
USA: +1-408-338-8047
Hi-Tech House, Near Gurukul Tower
Gurukul, Ahmedabad- 380 052 (India)
Sitemap | Privacy Policy | Contact Us
Copyright © 2024 Hitech CADD Services. All Rights Reserved.
DMCA.com Protection Status
Email: info@hitechcaddservices.com
Follow us:
Discuss your Challenges Email us!

Connect with us

Facebook
linkedin
twitter
instagram
youtube