Follow the below steps to To call a batch file for renaming the file with a unique identifier for Adeptia.:
- Login into to the JSCAPE MFT server Server Web Interface.
- Go to "the Domains" tab and , select the domain.After selecting the domain click on the "Edit" button at the bottom, and click Edit.
- Select the "Triggers" option from the left pane of the window.
- Click on "Add" button and then provide the Trigger Name and Description for the trigger. (See Figure25).
...
Select the Event Type as The Add Trigger window appears.- Provide the name and description of the trigger.
- Select "File Upload" and click on 'Next' button to define the Trigger Condition.(See Figure26)
...
- in the Event Type drop-down list.
- Click Next.
- Move to Trigger Action window and window and select the Action as "Run Process" and click on .
- Click OK.(See Figure27)
...
...
- Provide the Absolute File Path absolute file path and file name in the "Program" field text box for your batch file.
- Define the space separated arguments in the "Arguments" field; you can use pre-defined variables also. Arguments text box. You can also use predefined variables.
Provide the name and path
for creating output and error streamfor the batch execution
. (See Figure28)in the Output Stream and Error Stream text boxes respectively.
...
...
Info Click Add Variable to use predefined variables for getting the path and file name of the uploaded file
...
.
Click Add Function to use predefined functions in JSCAPE.- Click OK.