PL 400: troubleshoot processes (Implement processes)

Troubleshooting is the systematic and structured approach to problem solving that is often used to find and fix issues. It exists at a higher level than debugging and applies the business process flow to the source of the problem and a logical, systematic search to solve it.


There are several common issues in the business process flow :

License Issue:

The business process flow features are associated with the license. For use of this feature, the developer or app maker must be assigned by the appropriate license. Without these licenses, this feature will not be visible. Those licenses are below:

  • Dynamics 365 Sales Premium
  • Dynamics 365 Sales Enterprise
  • Dynamics 365 Sales Professional

Access Denied:

Each business process flow definition that is represented as a custom entity comes with its own set of privileges that can be edited in the same security role as any other system or custom entity. We can specify privileges for the security role in the Business Process Flow tab.

Use browser dev tools with debugger keyword for Client Script:

The debugger keyword is used to stop the execution of the code at the breaking point in the code and call the debugging function. The debugger function is executed if any debugging is required and no action is taken.

Use Plugin profile with visual studio for Server side code :

In CE, the Plugin Profile gives the developer unique features to debug server side code with a specific message whenever the plugin is executed.
  • In Visual Studio project, select Debug > Attach to Process
  • Select the PluginRegistration.exe process 
  • Click Attach. 
  • In the Replay Plug-in Execution dialog, click Start Execution


Comments

Popular posts from this blog

Exploring the Differences: Managed vs. Unmanaged Solutions in Dynamics CRM/Dataverse

PCF vs. Web Resources: Choosing the Right Extensibility Tool for Dataverse

Effective Strategies for Debugging Plugins in Dynamics CRM