Posts

Showing posts from November, 2021

How to load the Dynamic CRM environment Fast?

 If you ever face this deficult to load your environment slow so go to your dcrm environment and type the "/apps" like: http://abcde306.onmicrosoft.com/apps

How To take guid of business process flow in dynamic crm?

Image
First open the business process flow and go to the URL and copy the above id :%7b5DCFB56F-A98D-D37-90CA-F87B2VC7567B%7d. Select one after "7B" and up to "7B". Means first eight characters and lost twelves character long for your reference please see the below video.  

How to call the one business process flow to another business process flow in dynamic CRM?

Image
Through the JavaScript we can call the one business process flow to another. Step 1: Just take the one business process GUID. function setProcess(executionContext) { var formContext = executionContext.getFormContext(); var  outcome= formContext.getAttribute(" arshad_fname ").getValue(); if (outcome == Approve) { formContext.data.process.setActiveProcess(" 5DCFB30D-D987F-4D37-90CA-F93B2567117B ", callBackFunction); } function callBackFunction ( result ) { if ( result == "success" ){ alert ( "BPF successfully changed" ); } else { alert ( "Error" ); } } Note 1: Based on the B businesses process flow option set value I am calling to the another business process flow.  Note 2: While taking the business process GUID first length should be eight character and last digit should be twelve character long.     

How to call the previous stage of business process flow using workflow in dynamic CRM.

Image
  Let's assume I had one scenario once you click on the investigation field (Stage A)which is option set values once you select any one of the values it will be go stage B and C based on the condition like if the investigation outcome is complete it will go for stage B else it will be go for stage C.  Now once i click on the stage outcome of stage C it will be return back to the stage A. Now for that i have created one background workflow based on the field on the stage (Outcome). Workflow:- first we click on the field change and selected the field on which workflow will trigger.   Now we have given the condition in if else and then update it.

How to Hide And Show the Tab Based on The Business Process Stage In Dynamic CRM.

Image
                                                                                                                                                                    function formonload(executionContext) {     debugger;     alert("ABC");     var formContext=executionContext.getFormContext();     formContext.data.process.addOnStageChange(checkMoveStage);      }     function checkMoveStage(executionContext) {     alert("dgh");     var formContext=executionContext.getFormContext();     //var stage = formContext.data.process.getActiveStage().getName();     var stage = formContext.data.process.getSelectedStage();     var stageName= stage.getName();     if(stageName== "R")     {      // formContext.ui.tabs.get("D").setVisible(false);​     var tabObj = formContext.ui.tabs.get("tab_10");     tabObj.setVisible(false);     alert("R")     }     else if(stageName=="O")     {     var tabObj = formContext.ui.tabs.get("tab_10&q