hi experts
We running processes by webservice - where running time is longer then API timeout.
we would like avoid timeout and inform client about status of running.
workflow
1. client send SOAP request
2. server start runProcess with “run as job” parameter or optional default run as job feauture
3. server process started - approx. running duration will take 3 minutes
4. server return process process_instance_idto soap client
5. client store instance id locally - also take action on client env e.g block user e.g. on device to take action until operation not finished.
7. client ask SOAP endpoint periodically does Process Instance still running
- Response Running = ‘Y’ so plan next request + 15sec
- Response Running = ‘N’ OR processed = Y - client unlock device process. end.
we would like to run this feature in core - applicable above approach to any process.
if above feature is not available then we suggest improve idempiere web service method = Run Process by Run as Job flag or option receive this parameter and return process instance id to client
then we add a new endpoint to validate process instance status.
i would like to hear others opinion well.
WDYT ?
best regards. norbert.
This e-mail is confidential and may contain legally privileged information. It is intended only for the addressees and may not be reviewed or used in any way by other recipients. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message and any attachments thereto from your system. --
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/ba028c80-fce5-4a50-974e-ff34b79fbb70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.