The Get Events step in the Flow Designer seems to not work every time, and will occasionally display the following error message:
Caught an error in step "Get Events"
Script failed with message: JavaObject[org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://example.xmatters.com/api/xm/1/events": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out (org.springframework.web.client.ResourceAccessException)]
All versions of xMatters
This happens because the query is timing out. The query performance depends on whether it's using a wildcard or exact match.
If the property value you are returning is a unique value, you should set the 'Exact Property Value Match' to 'TRUE'. (The default property value for the Get Events step 'Exact Property Value Match' is 'FALSE'.)
For a detailed guide on setting up the Get Events step, see Set up a Get Events step.