I have requirement where i need to cancel the my custom Work (sub class of AbstractWork)
in The WorkManager i don't find any method for this specific requirement .
What i need to to to implement this feature ?
any suggestion will be help full.
My Use case :
We are using two workers in our application as described below
- Import a large amount of data in the nuxeo data base (as per our business rules ) .
- Export the data in zip format from the database (as per our business rules )
In above both the cases the user see the progress of the work done on the GUI (custom) .
Currently There is no way to stop the work .
So now we are adding a cancel button for each work if you want to cancle the import or export before it is completed you can cancel .
I hope i am clear .
Thanks
Atul