Re: Class and Methods to find job ID and job Name in a service

2023-04-18 Thread Jacques Le Roux
                    not coming, of course Le 18/04/2023 à 15:39, Jacques Le Roux a écrit : As you can see at https://lists.apache.org/thread/pqmq1x95hlbqwhhzygsvdq2ocwqo10p0 images are most of the time coming to this ML HTH

Re: Class and Methods to find job ID and job Name in a service

2023-04-18 Thread Jacques Le Roux
Hi Mahi, As you can see at https://lists.apache.org/thread/pqmq1x95hlbqwhhzygsvdq2ocwqo10p0 images are most of the time coming to this ML HTH Jacques Le 18/04/2023 à 12:23, Mahi maheshwari a écrit : Hello Community, Is there a way to find and access the job Id and job name inside a Java

Re: Class and Methods to find job ID and job Name in a service

2023-04-18 Thread Michael Brohl
As an addition a few remarks: OFBiz already has services ready to use for asynchronous mail delivery (see services_email.xml in framework/common/servicedef). The example code for SendEmailService does not represent a valid service method signature. It seems to be an event method which is not

Re: Class and Methods to find job ID and job Name in a service

2023-04-18 Thread Aditya Sharma
Hello Mahi, Though I could not understand your use case completely, I suspect you are looking for RuntimeData. Instead of identifying the job and deciding, you should prepare distinct runtime data for different jobs. RuntimeData will be passed to the service during job execution, based upon which

Class and Methods to find job ID and job Name in a service

2023-04-18 Thread Mahi maheshwari
Hello Community, Is there a way to find and access the job Id and job name inside a Java service? I have a service "SendEmailService" written in Java for mail notification, for this, I have created the job in jobSandBox. whenever the "SendEmailService" service is called by the scheduler then