On this same execution, has the rest of the transaction items got executed and marked as success? Then most probably it could be an error caused by the slowness in the network. If the rest of the items are running without a problem, you may try increasing the timeout period in the Get transaction Item activity. This allows it to wait for much longer than usual and it might resolve the error if it is related to a network speed problem.
Hi Lahiru.Fernando and thanks for the reply. The rest of the transaction-items, as well as transaction-items for other processes, seems to be running fine. I have increased the timeout as you suggested to 120 seconds now.
What worries me though is that the transaction-item in Orchestrator still has status “In progress” (for two hours now), and there was no way I could have discovered this unless the customer asked me why the didn’t receive any response.
Shouldn’t the transaction fail if a timeout occurs?
Not really… So as soon as it tries to get the item to process, it changes the status to In progress. but, however, it does not change the status to fail for timeouts. As I know, it only changes to fail when it runs into any errors and stops.
However, if you want to check whether there are queue items in this in progress status just in case, you can use the Get Queue Items activity. it has a property to specify what transactions you need to get in what status. So if you set it to “In Progress”, it will give you all the transactions under in progress state. So may be you should include a verification like workflow at the end of your main process to check whether any of the transactions had fallen under this state and not completed or failed. If there are transactions, you can loop through them and process them again too