QuestionQ110

Develop integrations

HOTSPOT -

A company needs to copy customer account-data changes from a Microsoft Dataverse instance to an external system. Azure Storage Queues pass the changes from Dataverse to that external system.

The following code is used. (Line numbers are provided only for reference.)

Question Image

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Yes or No
StatementsYesNo
The first call to ProcessAccountChanges at line 2 adds changes made to account records to the storage queues.
The second call to ProcessAccountChanges at line 4 adds changes made to account records to the storage queues.
The messages in changeQueue specify whether the accounts are new or updated.
A message is added to deleteQueue if an account is created and subsequently deleted at line 3.
Explanation

A first RetrieveEntityChanges request without a data token returns all current records as new records and supplies a token for the next request. A subsequent request using that token returns later new/updated and removed/deleted changes. The change queue payload contains only the record ID, so it does not identify whether a record was created or updated. A removed/deleted change is explicitly routed to deleteQueue.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!