We have a class that is implemented using the SysOperation Framework and needs to be added to the "Batch task" form (System Administration > Batch > View Task) so that we can define execution parameters. For example, we need to set dependencies, sub-tasks or the execution sequence between batch jobs. In this case, we need to use the "SysOperationJournaledParameters" attribute.
I found an example in the "Automatic release to warehouse" operation and adjusted it to my needs. I made the following modifications:
1. Added the "SysOperationJournaledParameters" attribute to the controller class:
public class MyControllerClass extends SysOperationServiceController
{
}
2. Added the service class and its methods to the "construct" method:
SysOperationController controller = new MyControllerClass(
controller.parmArgs(_args);
controller.parmDialogCaption(MyControllerClass::description());