Possibility to display Error status for manually started jobs directly in UI.

Vote:
 

Like onStatusChanged but perhaps a red box displaying that something went wrong in the job.

#182672
Sep 27, 2017 15:19
Vote:
 

there is a indicator for particular job that failed to execute successfully within last cycle. but not built-in ;) here it is

#183110
Oct 05, 2017 13:45
Vote:
 

Thanks Valdis, 
Not exactly what I was looking for. When manually executing a job, I would like to give the user a notification directly on the same view that something did not execute correctly. Like how onStatusChanged displays the status periodicly but as a separate box and in the end of the job, For Example: A line in an import did not get imported. then I want to notify the user that she/he should look in the log files for more information or something like that. :)

#183112
Oct 05, 2017 13:52
Vote:
 

guess easily achievable either ;) how would you signal error back to epi? throwing an exception? returning message?

#183113
Oct 05, 2017 13:57
Vote:
 

I talked to a guy at Epi, he did not have any solution that I could use. So right now we are building a string with every error we have in the job and if the job crashes what the last article it was working on and so on. So basicly a long string (returning message). Then we send an email with the error message to the users in a certain group. 

we wanted to solve it with eather the mail or directly in UI, so we took the easy way out and used email alerts :P

#183115
Oct 05, 2017 14:04
Vote:
 

I have a solution where you can use even standard logger (log4net) Error severity in all the subsequent services (logger must be injected) and as result returning all the entries collected ;)

#183116
Oct 05, 2017 14:13
Vote:
 

How are you displaying the collected entries then? Can you display it in the view where you manually start the job? 

#183118
Oct 05, 2017 14:20
Vote:
 

entries are collected and converted to string and returned to the framework. meaning that it's displayed as result of the job. same problem as you have at the moment ;)

#183166
Oct 06, 2017 7:28
Vote:
 

So you display it on the same view as you start a job?
Could you explain how you push out the message to get displayed there then?

#183168
Oct 06, 2017 8:23
Vote:
 

no, it's not displayed on the same page. it's visible on the log viewer tab. however - I'm thinking that displaying result on the same page is *doable*. as I'm for instance intercepting page instruction and adding couple of buttons there (without changing original source code)...

#183169
Oct 06, 2017 8:26
Vote:
 

Now I'm with you.

Could you explain how you added the buttons without changing original source code? 

#183171
Oct 06, 2017 8:49
Vote:
 

something like this

#183172
Oct 06, 2017 8:59
Vote:
 

Thanks :)

#183173
Oct 06, 2017 9:03
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.