I just wrote couple of custom workflow. But on Submit workflow, form did not refresh and available for edit until, you manually refresh the form. That behavior is certainly not acceptable by end user.
usually “_args.caller().updateWorkflowControls();” will do this. Possible I missed something. But for its solution I add following code snippet for data set refresh that works for me.
dssRfpTable tableBuffer = _args.record();
custInvoiceTableDataSource = FormDataUtil::getFormDataSource(tableBuffer);