Can I restart Batchprossor from smart/web client

The forum to discuss the Headless version of Servoy. Web, Java and Servlet development questions can all be posted here.

Can I restart Batchprossor from smart/web client

Postby IT2Be » Tue Jan 28, 2014 4:24 pm

Hi,

I need to be able to allow a super user to restart a batch processor after changing data.
It would be nice to give this user a button to do that.

Is it possible to restart a batch processor from a smart/web client or should I add a status to tell the batch processor to reload the data it is using.
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4763
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Can I restart Batchprossor from smart/web client

Postby mboegem » Wed Jan 29, 2014 12:42 am

Hi Marcel,

AFAIK: not easy.

There's a dirty way of doing it by logging into the admin page and post on the html form of the batch processor page.

You can also try if the user manager plugin can help you here.
But I quickly had a look and there is a batch processor object, but without the possibility to stop/start it.
Maybe it's reported via the headless clients.
_____________________
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance SAN Developer

Image
User avatar
mboegem
 
Posts: 1382
Joined: Sun Oct 14, 2007 1:34 pm
Location: Hoofddorp, The Netherlands

Re: Can I restart Batchprossor from smart/web client

Postby IT2Be » Wed Jan 29, 2014 11:39 am

Thank you Marc,

Hmm, I also thought about the 'dirty way' but don't want to do that.

I will check out the user manager plugin or otherwise I will have to set a flag in a table that the data needs to be reloaded.
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4763
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 1 guest