Skip to content
This repository was archived by the owner on May 12, 2022. It is now read-only.

How to auto refresh bar #4

@biton13

Description

@biton13

Hi, I think your plugin is just what I need but for the life of me I just can't get it to do what I want :)
Basically when I submit the page, it launches an Apex automation. The automation updates a table with the current step in the process e.g step1 - extract started, step 2 - output fetched, step 3 - file parsed etc.
I've put an sql query on the progress bar item that returns a value e.g 10 for step 1, 40 for step 2 etc. all the way to 100.
What I would like is for the progress bar to be refreshed every 5 secs (or whatever interval) and get updated with the value in the DB. Any ideas how to achieve this ? I've tried timer plugin, ajax callback but I just can't get it to work.
Thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions