You can import data from a Service Bus queue or topic subscription.
First, you must receive the data from the Service Bus queue or topic subscription. On receiving data from the Service Bus, based on the Service Bus search definitions and settings on the received data, import messages are automatically assigned to the received data records.
When the data is received, you can import the received data from the 'Received data from queue' table into D365 FO. To import the received data, run the messages as assigned to the received data records. You can run the messages in several ways, as desired. You can run a message by running a:
If an import message run finishes:
- Successfully, the related received data record gets the status 'Finished'. If 'peek lock' is used, the Service Bus message is removed from the queue or topic subscription.
- With errors, the related received data record gets the status 'Error'. If 'peek lock' is used, the Service Bus message is moved from the queue or topic subscription to the related dead letter queue.
Note: The assigned import messages must have the 'Service Bus queue' connector as source connector.
Notes
You can also use the 'Receive and process data' process. This process:
- Receives the data from the Service Bus queue or topic subscription.
- Runs the messages that are automatically assigned to the received Service Bus data records.
You can indicate which data you want to receive:
- Queue or topic subscription data. If 'Yes', you can also use the peek lock function.
- Dead letter data. You cannot use the peek lock function for dead letter data.
See also