AnsweredAssumed Answered

Arcgis JS API 4.7 Geoprocessing Task

Question asked by sreejith_cs on Aug 2, 2018

How to get Geoprocessing Job status in ArcGIS JS API 4.7 with Typescript.Compilation error while giving job progress status method

 

//Sucess

gp.submitJob(params).then(
(value) => this.drawResultData(value),
(error)=>this.errBack(error)
)

 

//Error

gp.submitJob(params).then(
(value) => this.drawResultData(value),
(error)=>this.errBack(error),

(progressVal)=>this.jobProgress(progressVal) //Showing compilation error
)

Outcomes