Custom Spring Bean Task Configuration using Cuba Administration -> Scheduled Task Screen

Dear Team,
I have created a spring bean. my requirement is configure this as cron job by using Cuba Administrtaion -> Scheduled task Screen.

Spring Bean is not showing up in dropdown. is there any additional configuration to be done?

Found the solution in cuba documentation.

The bean is listed and available for selection only if it is defined in the core module and has an interface, which contains methods appropriate for invocation from the task. Beans without an interface are not supported.

1 Like