Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Follow the below steps to call a batch for renaming the file with unique identifier for Adeptia.

  1. Login into the JSCAPE MFT server Web Interface.
  2. Go to "Domains" tab and select the domain.
  3. After selecting the domain click on the "Edit" button at the bottom.
  4. Select the "Triggers" option from the left pane.
  5. Click on "Add" button and then provide the Trigger Name and Description for the trigger. (See Figure25)


Figure25: Add Trigger Screen

  1. Select the Event Type as "File Upload" and click on 'Next' button to define the Trigger Condition.(See Figure26)


Figure26: Add Trigger Screen

  1. Move to Trigger Action window and select the Action as "Run Process" and click on OK.(See Figure27)


Figure27: Run Process Trigger Action

  1. Provide the Absolute File Path and file name in the "Program" field for your batch file. Define the space separated arguments in the "Arguments" field; you can use pre-defined variables also. Provide the name and path for creating output and error stream for the batch execution. (See Figure28)


Figure28: Run Process Trigger Credentials

You can make use of the pre-defined variables for getting the path and file name of the uploaded file to be renamed by clicking on the "Add Variable" button.
You can make of pre-defined functions in JSCAPE by clicking on the "Add Function" button as per your requirements
Refer below to configure the Run Process Trigger Action

  • No labels