Hi,everyone
I use the custom button command javascript to trigger the workflow. I want the workflow to be refreshed after completion. My purpose is to refresh the error information the form gets from my workflow. I don't want to use the real-time workflow error message because It's not the style I want.Here is the code
“ function RefreshForm(PrimaryEntityTypeCode, WorkflowId) {
Mscrm.CommandBarActions.launchOnDemandWorkflowForm(PrimaryEntityTypeCode,WorkflowId);
Xrm.Page.data.refresh(false);
} ”
Can find Mscrm.CommandBarActions.launchOnDemandWorkflowForm() rewritten to Callback? Is there any other solution?
*This post is locked for comments