http://fmeserver/fmerest/v2/transformations/commands/submit/Samples/austinDownload.fmw?detail=high
With these parameters
{ "FMEDirectives": {}, "NMDirectives": { "failureTopics": [], "successTopics": [] }, "TMDirectives": { "rtc": false, "ttl": 120, "description": "This is my description", "priority": 5, "tag": "linux" }, "publishedParameters": [ { "name": "MAXY", "value": "42" }, { "name": "THEMES", "value": [ "airports", "cenart" ] } ], "subsection": "REST_SERVICE" }
And adding the services to notify:
"NMDirectives": {
"successTopics": [
"MYTOPIC_OK"
],
"failureTopics": [
"MYTOPIC_CALLED"
]
},
and even trying to set it "manually"
"FMEDirectives": {
"TEXTLINE_1_DATASET": "!FME_AUTO_DIR_NAME!_nw\\\\textline.txt"
},
It does not seem to be able to write a textfile to send to the notification.
Any help from Safe or users regarding this?
I would expect it to be able to send the text_line_data to the notification - however it seems the output-directory/file for the TEXTFILE writer does not get set when using the RESTAPI and no file is created. When you use the JOBSUBMITTER it works as expected and the text_line_data is generated properly.