Implementing Custom Actions in Dynamics 365 CRM
Scenario: Loan Application Approval Process (Banking CRM)
Business Requirement:
When a loan application is submitted and reviewed, a Loan Officer should be able to approve it using a single click (from a model-driven app, portal, or Power Automate)
The approval process should be as below:
This Action should be reusable across:
Step 1: Create the Custom Action
Category: Action
Entity: Loan Application
Name: ApproveLoanApplication
Step 2: Add Input Parameters
Inside the Action:
LoanApplicationId → EntityReference → Entity: Loan Application
Approved By → String (name of officer or GUID if needed)
Step 3: Add Steps (Workflow Logic)
1. Validate Documents:
2. Create Loan Record:
Create a new record in Loan entity:
3. Send Notification to Customer:
Create an Email:
4. Update Loan Application:
Step 4: Save and Activate the Action
Now your ApproveLoanApplication action is ready to use.
Step 5: Call the Action from Anywhere(Plugins, Power Automate, JavaScript, External Web API)
1. Plugin:
2. Power Automate:
3. JavaScript:
Software Engineer
3moA better and up to date method is to use Custom APIs.
Microsoft Dynamics CRM-Power Platform Developer | Azure Cloud and AWS Cloud | Available for FULL-TIME W-2 Employment | WILLING TO RELOCATE
3moInteresting
System Engineer
3moWell put, Vamshi
Power platform | Dynamics 365 | Power BI | CRM Solutions | Azure Data Engineering | Python | PL-900 Certified
3moThanks for sharing