Skip to Main Content
Spotfire Ideas Portal
Status Implemented
Product Spotfire
Categories Automation Services
Created by Guest
Created on Feb 6, 2016

Add API that allows reporting custom task execution progress in the Automation Services Job Builder dialog

Customer would like a similar functionality to ProgressService for transactions implemented for custom automation services task.  They would like to see the task execution progress in the Job builder dialog when an automation services job is executed either Locally or on Server. They need a public API to send progress messages to the Job builder execution dialog.

Customer said:
{quote}
My vision for our Task is:
"Processing record (x of y)..."
And then to change this periodically. Our task essentially is like a "compound task" in that it does a lot.
We need this. Our Task will bring very real value to Automation Services. Thanks.
{quote}

Implemented in 7.5
  • ADMIN RESPONSE
    Sep 19, 2018

    Since Spotfire 7.5 it is possbiel to use the ProgressService to report custom task execution progress.

    Code sample:

    protected override TaskExecutionStatus ExecuteCore(TaskExecutionContext context)

    {

    ...

    context.Application.GetService<ApplicationThread>().Invoke(

        () =>

            context.Application.GetService<ProgressService>().ExecuteWithProgressOrSubtask(

                "My progress text",

                "A description",

                () =>

                {

                   // Execute custom code here

                 }));

    ...

    }

    .

     

  • Attach files
  • Guest
    Reply
    |
    Jan 23, 2017

    The option to show Progress messages will help the users to see if the sub tasks completed or failed.

    Showing this Progress Bar during task execution can be made optional(hide or show).