There've been many posts on the XI forum
where some of you where asking why your OS command
doesn't get executed inside your Adapter and you don't know what's wrong.
I decided to check if there's any simple way of dealing with this problem :smile:
Here's my solution:
Once you set your communication channel (in my case it's file/ftp)
you can set it to store the file on the File system (Transport Protocol).
Then you set target directory on the Server and the filename
Now the fun part:)
If your command isn't executing correctly you can easily
store the error message in any file you want.
In my example I'm using the same folder as the one in which
I store my XML files from the Receiver adapter.
As you can see I execute a non existing command "echooo"
When I run my scenario apart from the XML file I can find
demo1.txt file with the descripion of the error :
'echooo' is not recognized as an internal or external command,
operable program or batch file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
11 | |
7 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |