ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 78 - PL-400 discussion

Report
Export

HOTSPOT

A manufacturing company takes online orders.

The company requires automatic validation of order changes. Requirements are as follows:

If validation is successful, the order is submitted.

If exceptions are encountered, a message must be shown to the customer and the order changes must not be submitted.

You need to set up and deploy a plug-in that encapsulates the rules.

Which options should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 78
Correct answer: Question 78

Explanation:

Box 1: PreValidation

PreValidation: For the initial operation, this stage will occur before the main system operation.

This provides an opportunity to include logic to cancel the operation before the database transaction.

Box 2: Synchronous

Ideally, you should only cancel operations using synchronous plug-ins registered in the PreValidation stage.

Box 3: Pre Image

Box 4: throw ..

When you throw an InvalidPluginExecutionException exception within a synchronous plug-in an error dialog with your message will be displayed to the user.

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/event-framework

https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/handle-exceptions

asked 05/10/2024
Marcelo Oliveira
38 questions
User
0 comments
Sorted by

Leave a comment first