Skip to main content
Using this REST-call

 

 

http://fmeserver/fmerest/v2/transformations/commands/submit/Samples/austinDownload.fmw?detail=high

 

 

With these parameters

 

{ "FMEDirectives": {}, "NMDirectives": { "failureTopics": o], "successTopics": o] }, "TMDirectives": { "rtc": false, "ttl": 120, "description": "This is my description", "priority": 5, "tag": "linux" }, "publishedParameters": o { "name": "MAXY", "value": "42" }, { "name": "THEMES", "value": o "airports", "cenart" ] } ], "subsection": "REST_SERVICE" }

 

 

And adding the services to notify:

 

    "NMDirectives": {

 

        "successTopics": c

 

            "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. 

 

 
Be the first to reply!

Reply