Searching Activity History in workflow

I’m trying to search for the activity history, and case details after an agent completes an interaction - is there a way to do this in workflow?

Thanks for your inquiry

You can search activity history in the workflow with the following steps

Insert a Bright Pattern Search Object
Select Activity History as the item to search
Use Global Interaction ID = $(global_interaction_id)
Set recordset name (i.e. RS)

This will return all activity history

If there was a case associated with the activity, the ID will be included in the activity history data array
Use this ID to execute a second search, changing the object to search to “Case” where ID = the Id obtained in your previous search