I've noticed the following:
if i try ScheduledBatch as execution mode and put this line in controller (assume DBatchGroup value is Generic)
controller.batchInfo().parmGroupId(DParameters::find().DBatchGroup);
like code below... then when I checked
batch table, the batchGroupId was changed correctly to Generic. However, when I checked
BatchJob table, the batch group was empty
So what's wrong here? protected void new()
{
super(classStr(DService),methodstr(DService,perpareD),SysOperationExecutionMode::ScheduledBatch);
}
public static Controller construct(Id _Id = '')
{
Controller controller = new Controller();
controller.parmShowDialog(false);
controller.parmShowProgressForm(false);
Contract contract = controller.getDataContractObject();
contract.Id(_Id);
controller.batchInfo().parmGroupId(DParameters::find().DBatchGroup);
return controller;
}And for
reliable Asnc (Which is what I'm interested in) if I use this code
controller.parmReliableAsyncBatchGroupId(DParameters::find().DBatchGroup);
How can I know if it's working correctly, since batch job history doesn't have batch group and records for reliable async don't exist in batch table or batch job table???? protected void new()
{
super(classStr(DService),methodstr(DService,perpareD),SysOperationExecutionMode::ReliableAsync);
}
public static Controller construct(Id _Id = '')
{
Controller controller = new Controller();
controller.parmShowDialog(false);
controller.parmShowProgressForm(false);
Contract contract = controller.getDataContractObject();
contract.Id(_Id);
controller.parmReliableAsyncBatchGroupId(DParameters::find().DBatchGroup);
return controller;
}Can someone please help me in setting batch group? and if it's doable for reliable async??
goshoom Andre Arnaud de Calavon can you please help??