/
Creating Trigger in JSCAPE to Run a Batch File to Rename File with a Unique Identifier
Creating Trigger in JSCAPE to Run a Batch File to Rename File with a Unique Identifier
To call a batch file for renaming the file with a unique identifier for Adeptia:
- Login to the JSCAPE MFT Server web interface.
- Go to the Domains tab, select the domain, and click Edit.
- Select Triggers from the left menu.
- Click Add.
The Add Trigger window appears. - Provide the name and description of the trigger.
- Select "File Upload" in the Event Type drop-down list.
- Click Next.
- Skip Trigger Conditions wizard and click Next.
- On the Trigger Action, click Add.
The Add Action window appears. - Select Run Process from the Action drop-down list.
- Click OK.
The Run Process window appears. - Provide the absolute file path and file name in the Program text box for your batch file.
- Define the space separated arguments in the Arguments text box. You can also use predefined variables.
Provide the name and path for the batch execution in the Output Stream and Error Stream text boxes respectively.
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. To configure the Run Process Trigger action, click here.- Click OK to close the Run Action window.
- Click OK to create a new trigger.
The new trigger is created successfully.
Related content
Configuring JSCAPE
Configuring JSCAPE
More like this
Creating File Target Activity
Creating File Target Activity
More like this
Sending an AS2 Message Automatically
Sending an AS2 Message Automatically
More like this
Creating File Event Activity
Creating File Event Activity
More like this
Installing JSCAPE MFT Server
Installing JSCAPE MFT Server
More like this
Configuring JSCAPE with Adeptia
Configuring JSCAPE with Adeptia
More like this