Search code examples
crmdynamics-crm-2013dynamics-crm-2015

Change displayed business flow process on form


Supppose I have two different business process flow for an entity, is it possible, from the onLoad event of the form, to change which flow is displayed ?

Should I try and modify the order in which the flows are shown depending on some conditions ? If that is even possible ?

Thanks


Solution

  • Yes. You want Xrm.Page.data.process.setActiveProcess(processId, callbackFunction)

    See Xrm.Page.data.process for reference