Is there a way to set step percentage completed in the Web Viewer?

3358
2
03-18-2016 01:05 PM
MarcSt_Onge
New Contributor

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?

0 Kudos
2 Replies
by Anonymous User
Not applicable

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

MarcSt_Onge
New Contributor

Very nice. Thanks. I'll have a look at that in the API next week.

0 Kudos