Hi Michael,

thanks for the fast response. I have one more question:

I created a services that is fired inside a groovy script - async. When I 
define persist = "true" the dispatcher is null / delegator not defined. I use 
tenants. 

Sync works.
Async with persist = false works
Async with persist = true fails

Did I miss something? Should I pass some specific data to the service when 
using persist = true?

Best regards,
Ingo

-----Ursprüngliche Nachricht-----
Von: Michael Brohl <michael.br...@ecomify.de> 
Gesendet: Dienstag, 7. März 2023 08:57
An: user@ofbiz.apache.org
Betreff: Re: Async Services

Hi Ingo,

with persist = true, the async service will be persisted in the Job Sandbox and 
executed, els it will only be executed.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 07.03.23 um 08:24 schrieb Ingo Wolfmayr:
> Hi Michael,
>
> sorry "persist".
>
> Best regards,
> Ingo
>
> -----Ursprüngliche Nachricht-----
> Von: Michael Brohl <michael.br...@ecomify.de>
> Gesendet: Dienstag, 7. März 2023 08:21
> An: user@ofbiz.apache.org
> Betreff: Re: Async Services
>
> Hi Ingo,
>
> where did you find this option and for which version?
>
> Best regards,
>
> Michael
>
> Am 07.03.23 um 08:04 schrieb Ingo Wolfmayr:
>> Hi Community,
>>
>> I would like to know what is the difference between an async service with 
>> option set "permit = true" or "permit = false".
>>
>> Best regards,
>> Ingo
>>

Reply via email to