cancel
Showing results for 
Search instead for 
Did you mean: 

service task execution from scheduler

beginneractivit
Champ in-the-making
Champ in-the-making
Hi,

I need your inputs on following.

I am planning to have a service task that push a file to FTP location.
If FTP push is successful,workflow proceeds further else,it needs to be at the same stage.
I am planning to have a scheduled jon which will query the service task responsible for FTP push and signal them for executing FTP push activity written inside it.

Does this look good?

Now, my question is -
My service task should only be executed/invoked from scheduler.
how can I make that task to not get executes untill invoked from scheduler.


1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

I would create service which can upload file asynchronously. During the file upload transaction can timeout. So activiti should just create a message to the external system to upload file and notify (by signal or message) that upload is finished (failed…) .
Regards
Martin