Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

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

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

    Image Modified

...


  1. Select the Event Type as The Add Trigger window appears.
  2. Provide the name and description of the trigger.
  3. Select "File Upload" and click on 'Next' button to define the Trigger Condition.(See Figure26)in the Event Type drop-down list.

    Image Modified

...

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

...


  1. Provide the Absolute File Path Click Next.
  2. Skip Trigger Conditions wizard and click Next.
  3. On the Trigger Action, click Add.
    The Add Action window appears.
  4. Select Run Process from the Action drop-down list.
  5. Click OK.

    Image Added

    The Run Process window appears.
  6. Provide the absolute file path and file name in the "Program" field text box for your batch file. 
  7. 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. 
  8. Provide the name and path for

    creating output and error stream for

    the batch execution

    . (See Figure28)

    in the Output Stream and Error Stream text boxes respectively.

    Image Modified

...

Image Removed

...


  1. Info
    Click Add Variable to use predefined variables for getting the path and file name of the uploaded file

...


  1. Click Add Function to use predefined functions in JSCAPE.  To configure the Run Process Trigger action, click here.
  2. Click OK to close the Run Action window.
  3. Click OK to create a new trigger.
    The new trigger is created successfully.