MessageReprocess Job is the process to be used for reprocessing failed and a pending message from the previous integration. It might be failed if the user does not edit or edit wrong business logic in IMessage Data.
The configuration of Reprocessing Message #
Following, we will see how to use the MessageReprocess job to correct the message records in different cases. The different cases we support are:
- Pending Message (Yellow)
- Failed Message (Red)
1. Pending Message
The message is Pending because of a lot of reasons. They have been shown in Comment. It is one of many reasons that causes Pending, as an example below “The message is not met a condition of all workflows.“ As shown in the picture given below.
[su_box title=”Note” box_color=”#2a8af0″ title_color=”#000000″]You must correct your data to meet the condition of all workflows first before you can reprocess.[/su_box]
2. Failed Message
If we get failed messages at that time we can reprocess those messages after recorrecting the issue.
Manual process. #
- We can see failed messages in the picture given below.
- As we can see in comment the reason for the failed message is given that no data passed for external id (Name). So click on the edit button on the failed message.
- Enter some data in the Name field.
- And Now click on the Reprocess button.
- In the picture given below, we can see a reprocessed message which shows now a green flag.
Scheduler Process: #
Like you can see a failed message in message monitoring just edit it and move to the scheduler screen. For reference, the picture is shown below.
- Navigates to Integration Admin -> Scheduler -> MessageReprocess
- Finds which Integration name you would like to use schedule
- Sets how many minutes you would like the schedule to run. A picture is shown below.
- As I set the scheduler time for two minutes. So we will check message monitoring after two minutes.
- And finally, the message reprocessed.
[su_box title=”Note” box_color=”#2a8af0″ title_color=”#000000″]Pending Messages sometimes might have become Failed because of missing.[/su_box]