We have long lasting jobs and use this on the Desktop all the time...
If not, is it in the future plans list?
If not, can you add it to the future plans list?
Does the API support this, so we could add a button ourselves?
Hi Marc,
There isn't currently a way to set step percentage in the Javascript viewer and it isn't in our immediate plans to add it to the Javascript sample.
There are REST endpoints however that support this functionality so that you could add the buttons yourself.
- UpdateJob - Percent parameter. Where you would update the percentage of work completed on the job's current step.
- Job - PercentageComplete. To retrieve the current value.
More information is available in the installed help under Developer Kit->Developer Help -> Workflow Manager Server REST.
Thanks,
Michael
Very nice. Thanks. I'll have a look at that in the API next week.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.