JobOption Element does not work in xPression RESTful Services for Batch

Options
Bolide Liu
edited April 18 in Exstream #1

Hi all,

I would like to use the RESTful Services to trigger a Batch, and I found the service url "http://your_server:your_port/xFramework/restful/services/job/start" could be done it. After testing the function, i found that the parameter "-o" in the "<JobOption>" element didn't work, but it could work with command line when running the same job setting via BatchRunner.bat.

And then, I tested another parameter "-q" to generate a new list of the data sources, it didn't work yet.

Another question for this part, this API will return a JobRunID after the request is successful. But the value is different between the JobRunID in xDashboard.

Job RunID from Response Content:

2323011320007171342279479908504

Job RunID from xDashboard:

2323011320008171342281648808504

Could you please help me to support it? Thanks.

Answers

  • This function can run the Job successful with the default data source, but i want to override the default data source of a batch run. Thanks.