Contents tagged with Business Process Flows

  • API for woring with Business Process Flows in Dynamics CRM

    Hello everybody,

    so I continue to familiarize myself with Dynamics CRM and for now my eyes were caught by Business Process Flows. 

    And of course, what can be interesting for programmer in any environment? Of course programming features. 

    And for client side Microsoft introduced Xrm.Page.process api.

    Below will go list of methods, which are available there.

    1. var activeProcess = Xrm.Page.data.process.getActiveProcess();

     With this method you can check is there any active process which is somehow binded to current record. It gives you process object, from which you can discover id of the process, name of process, etc. Very important part it has method getStages which will give you a … more