ISM Manual
  • Overview
  • Features
  • Components
  • Directory Structure
  • Startup/Shutdown
  • ISM Admin UI
    • Dashboard
    • Flow
    • Job
      • Schedule
    • Channel
      • AMQP
      • Mqtt
      • sFTP
    • Interface
      • System
      • Data Structure
      • Field Group
      • Field
    • Web Service
    • Utility
    • Admin
    • Result
  • Tasks
    • Control Task
      • Route
      • Split/Join
      • Mapping
    • FTP
      • FTP Input
      • FTP Output
      • FTP Transfer
    • DB
      • SQL Executor
      • SQL Batch Executor
    • File
      • File Input
      • File Output
      • File Validator
      • Record Extractor
    • Excel
      • Excel Reader
      • Excel Writer
    • Flow
      • Flow Execution
      • Wait Sub
    • Web Service
      • REST Client
      • Web service Client
    • PGP
      • Encrypt
      • Decrypt
    • Cloud
      • SharePoint
      • Amazon S3
      • Google Cloud Storage
    • Others
      • Email Sender
      • LDAP Client
      • Function
      • Script
      • Java Class
  • REST Service
  • Trouble Shooting
  • Logging Configuration
  • Implementing a Task
  • Custom Class
  • Frequently Asked Questions (FAQ)
    • What is XNARUM Integration Service Mastery (ISM)?
    • What is the purpose of XNARUM?
    • Can XNARUM be customized to specific integration requirements?
    • Is XNARUM scalable?
    • Does XNARUM provide support and maintenance?
Powered by GitBook
On this page
  • Input
  • Output
  • Example
  1. Tasks
  2. Others

Script

PreviousFunctionNextJava Class

Last updated 1 year ago

Script task is used to executes .bat/.sh script file.

Input

Attribute
Description

Path

Path of the script file

Arguments

Argruments of the script

Timeout

Execution timeout in seconds.

MaxOutput

The maximum size of standard out/error message of the script captured.

Output

Attribute
Description

ExitCode

Exit code of the script

· 0 = success

· Non-zero = error

(*) Non-zero exit code does not mean the failure of the script task.

(*) If a script does not have an explicit exit code, exit code is implicitly assigned.

OutputMessage

Standard output/error message from the script

Example

This example receives one parameter #name# and return "Hello #name!". The script returns 0 as exit code.