Closing and opening the CRM
Since the status of the transaction item has been set to fail, before fetching the next transaction from the queue, you will need to close the Order Entry CRM web page and open the CRM again:
- In the
Read_From_Queue
workflow, drag and drop aSequence
activity connecting to theSet Transaction Status(Failed)
activity. Then, rename it toClose and Open the CRM
. - Inside the
Close and Open the CRM
sequence, drag and drop theElement Exists
activity and indicate Henry's Food Mart Order Entry on the Order Entry CRM web page. In the Properties panel, create a new variable under Exists, namedisCrmExists
, using Ctrl + K.
The following screenshot shows Henry's Food Mart Order Entry being indicated by the Element Exists
activity:
Before closing the CRM, you can check whether the CRM is open or has already been closed. The Element Exists
activity will...