Custom Call Back Function to Update Global Filter SUBNM

Context:
We have a UX dashboard that interacts with other AWS components (an SQS Queue to be precise). When a user clicks the generate button (1) a TI is run that generates a bunch of JSON based requests that get sent off to another system. That TI also updates a dimension (2).

Users then watch the dashboard for updates to that request ID and make some decisions based on the outcome.

Question:
We would like the TI call back function on success to refresh the SUBNM (1) and change the filter selection to latest one created (last item in the list). I can’t seem to figure out how to get a callback function from the process to interact with the pages filters. Does anyone have an example set of code to get me started.

Thanks