Skip to Content
avatar image
Former Member

Run Operating System Commands to trigger mail.

Hi Experts ,

    I wish to execute a operating system command to trigger mails based on certain payloads in the payload body . Is it possible . And if yes , can some one help me with the code.

  I am planning to  run the  Operating system command after message processing .

Thanks and Regards,

Arnab Mondal.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 22, 2014 at 12:40 AM


    Depending on PI server OS. To trigger email, in UNIX (write shell script), in Windows (write batch scripting).

    OS Commands are difficult to maintain and they are not encouraged. Please let us know, what is the actual requirement (the more details the better).

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      When we use "Run operating system commands after message processing". It gives an Information in the audit log of PI instead of Success/Failure. It would be difficult to understand from the SFTP adapter logs whether the OS command has been successful.

      AFAIF you will have to go into the file logs of the OS to ensure whether the file posting has been successful.