5 Interview Questions of Dynamics 365 Customer Engagement

Even though Dynamics 365 Customer Engagement is being changed a lot. Perhaps, some technical questions are pretty basic and commonly asked in most of the interview. I have listed few of them below:   

Question #1: How will you optimized form performance when you have multiple tabs/grids on the entity form.

Answer: While placing sub-grid on form we should unchecked the Expand this tab by default from tab properties. It saves page rendering time and enhance the page load performance.

Question #2: What is the difference between Plugin and Workflow? (Being a developer we always deals with plugin and workflow. So, This is something from which you can’t remain untouched. 😊) 

Answer: Some of the differences are detailed below:

WorkflowPlugin
CompatibilitySynchronous
/Asynchronous*
Synchronous
/Asynchronous
Maintenance Business Users
/Functional Consultant
Technical Consultant
Nested Child Process Yes* No
On Demand Yes No*
Run As Organization
User
Business Unit
Parent:Child Business Units
Organization
User Context
User Impersonation
(To run plugin on
another user context.)
Get External Data No* Yes
Triggers Record is created
Record Status changes
Record is assigned
Record fields change
Record is deleted
Create
Update(Filtering attribute)
Delete
Associate
Disassociate
Status Change
Assign to Owner
Executed After
Save
YesYes
Can run on RelationshipN:1(lookup on the record)1:N

Note Compatibility* : Earlier Workflow was asynchronous until Microsoft enable Convert to a real-time Workflow.

Note Nested Child Process*: Nested Child Process is very useful. Commonly used scenario i.e.to send mail to employee on their birthday.

Note On Demand*: Through customization Plugin can also run on demand. Though it requires custom Button where you must write JavaScript function to run it. However, this process take two calls which decreases system performance.  

Note Can run on Relationship*: Workflow cannot automatically update all the contact addresses when the parent account address changes. But this can be done with a plug-in.

Question #3 : What will execute first business rule or java script?

Answers: execution order is defined below:

1.System Java Script(Source code by MS)

2. Custom Java script

3.Business Rule.

Reason: business logic is applied to Business rule will be converted to Java script and then gets executed On other side custom java script doesn’t required any conversion So it saves conversion time and executes first.

Question #4: What are the event pipeline stages and its number?

Answer: Event pipeline stages are 4 and plugin/workflow can register in 3 stages out of 4.

EventStage NameStage No.Description
Pre-Event1. Pre-Validation10It is executed before the
main system operation.
Registered plugin gets
executed before the
database transaction.
Pre-validation stage
occurs prior to security
role check and mainly
used delete plugin
message.
2. Pre-Operation20It is executed before the
main system operation.
Registered plugin gets
Executed within the
database transaction.
Platform Core
Operation
Main Operation30It doesn’t allow to
register custom plugin.
it is the main operation
of System(Source
code by Microsoft)
Post-EventPost-Operation40It is executed after the
main system operation.
It allows to register
custom plugin.
Registered plugin gets
executed within the data
base transaction.

Question#5: What is the time limit of plugin/Custom workflow execution?

Answer: It’s 2 minutes(like Maggie 😊)Irrespective of Synchronous/Asynchronous,There is 2 minutes time limit imposed on execution. If execution exceeds the limit a System.TimeoutException is thrown.

Note: While we code and gets Business Error“This workflow job was canceled because the workflow that started it included an infinite loop. Correct the workflow logic and try again” which is showed 7 iteration steps. Reason being, execution time limit is 2 minutes.

Hope it helps for your new job!

3 thoughts on “5 Interview Questions of Dynamics 365 Customer Engagement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s