Jump to content

API-Tasks-Command-Reflection


sir drake

Recommended Posts

Hello Griga,

 

maybe somthing for further versions.

 

by using the Tasks-command ( api/tasks.html?action=.... ) 
i did not know, when a started process is finished.
(also not if start has happen successfully. no feedback given ) 

should it be possible to implement this as a feedback
once in the existing status2-request or in a sep. new tasks-status-request ? 

in a very specific case i need to know if a process has ended 

prior i fire the next command to dms.

 

every suggestion is welcome

 

brgds

sir drake
 

Link to comment

similar but not exactly what i want to know.
 

thanks for spending time to this topic

brgds

sir drake

Link to comment

The requirements are the same. What you want needs

  1. An ID as reference allowing to specify exactly for which task you want to get feedback. The ID may for example include the task trigger (timer, API, web interface...), task name and time of execution.
  2. Objects that are able to monitor internal tasks (as already existing for external process tasks) and to indicate their running state.

Without this basis a "task feedback API" is impossible and the question "is my task finished?" cannot be answered. Since such a system does not exist in the DMS, it must be designed and implemented first. You can't do the second step before the first one.

 

Link to comment

Hi Griga,
yes, your are right.

Maybe in future, one day..... :)

 

meanwhile a simple sleep(1000) does the job as well.

but uncontrolled.

 

so what..

 

thanks again

Link to comment
On 5/5/2018 at 1:13 PM, Griga said:

The requirements are the same. What you want needs

  1. An ID as reference allowing to specify exactly for which task you want to get feedback. The ID may for example include the task trigger (timer, API, web interface...), task name and time of execution.
  2. Objects that are able to monitor internal tasks (as already existing for external process tasks) and to indicate their running state.

Without this basis a "task feedback API" is impossible and the question "is my task finished?" cannot be answered. Since such a system does not exist in the DMS, it must be designed and implemented first. You can't do the second step before the first one.

 

 

It's truly great this in-detail-analysis has begun. A task feedback API would be awesome and something at least i have missed for a decade now. The new webinterface task notifications is nice, although in current state they leave the user wanting more. One idea is maybe if splitting the webinterface "Tasks" page in two windows, where one contains the tasks as is now and the other a task in-progress list which displays both auto activated (by script or timer) and manually activated tasks. Possibly also an other tab (or sub-window) with task deployment history, timings and error description if failed/aborted. That way the need to plow the logs to see if a task did run ok gets unnecessary.   

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...