Useful for when we need to reprocess statements for a statement forward in support cases. Ensure statement forward is re-enabled if not already before reprocessing statements.
Check after the requeue, the statement forward document’s reprocessingStatus as well as the completedForwardingLog on the statements to confirm requeue is successful.
Through the API (available in SDC enterprise from 13.32.0)
You will need the statement forward ID (copyable from UI, using the copy button next to the title).
Count the number of missing statements by sending GET request tohttps://{SDC_BASE_URL}/api/statementforwarding/reprocess/{STATEMENT_FORWARD_ID}/countResponse should be 200, SF’s reprocessingStatus's status field should be "COUNT FINISHED" and the missedStatementCount should be populated.Search the number of missing statements by sending GET request to
https://{SDC_BASE_URL}/api/statementforwarding/reprocess/{STATEMENT_FORWARD_ID}/search
Response should be 200, SF's reprocessingStatus's status should be "SEARCH_FINISHED", the searchResultCount, firstSearchResults and the lastSearchResults should be populated.Requeue the number of missing statements by sending GET request to
https://{SDC_BASE_URL}/api/statementforwarding/reprocess/{STATEMENT_FORWARD_ID}/forward
Response should be 200, SF's reprocessingStatus's status should be "FINISHED", the forwardedCount indicates how many have been successfully requeued.Cancel reprocessing by sending POST request to
https://{SDC_BASE_URL}/api/statementforwarding/reprocess/{STATEMENT_FORWARD_ID}/cancel
Response should be 200, SF's reprocessingStatus's status should be "CANCELLED".If the reprocessingStatus is
FORWARDING
orSEARCHING
, reprocessing can be paused by sending POST request tohttps://{SDC_BASE_URL}/api/statementforwarding/reprocess/{STATEMENT_FORWARD_ID}/pause
Response should be 200, SF's reprocessingStatus's status should be "FORWARDING_PAUSED" or “SEARCHING_PAUSED”.
Troubleshooting (TODO)