The File Target service provides the ability to specify the name and path of the target file that you want to create. This section describes how to create a file target service.
As this File Target service has now been deprecated in Connect, it is recommended that you use LAN File Target service instead of this. Click here to know how to create an LAN File Target service.
Follow the steps below to create a file target:
Click Configure > TARGETS > File Target.
ClickCreate File Target.
Enter the name and description of the new File Target in the textboxes Name and Description respectively.
To specify the target location, enter the full path of the target file in the textbox File Path. However, if the respective drive does not contain the folder mentioned in the path then the creation of the new folder will depend on the value of the system property abpm.target.createFolder and on the option value selected from the new drop-down list of Auto Folder Creation added in the Advanced Properties section.
To change the value of the application property abpm.target.createFolder, 1. Click Account > Settings. 2. Expand Microservice Settings, and then select Runtime in the left panel. 3. Expand the property category, Target Property. 4. Double-click the corresponding value field for the following two property to change its value. 5. Click Update. You'll see a message saying 'Properties saved successfully'
Enter the name of the target file in the textbox File Name.
If you want to append date and time stamp in the target file name, then select the date and time stamp from the drop-down list of Time Stamp.
If you want that each target file created by this activity should have unique name, then select the Create Unique File check box. When this option is enabled, a 30 digit random number is appended in the file name.
Enter the file extension in the field File Extension.
Expand Advanced Properties section.
Select the below options from the drop-down list of Auto Folder Creation. This drop-down list has the following three options:
None
Yes
No
By default, the option None is selected.
When the value of the system property abpm.target.createFolder is set to Yes and if the option value selected from the drop-down list is:
Yes, then the new folder will be created.
No, then the new folder will not be created and an error message will be displayed.
None: Then the new folder will be created.
When the value of the system property abpm.target.createFolder is set to No and if the option value selected from the drop-down list is:
Yes, then the new folder will be created.
No, then the new folder will not be created and an error message will be displayed.
None: Then the folder will not be created.
Select the project from the drop-down list of Project.
Click Save.
You can verify the File Target activity at design time. For this, click Test. This verifies the values given in the File Path field.