How to identify the parent record related to a paused flow interview using a SOQL

I need to cancel some of the actions scheduled by different process builders (executed on opportunity) but it is not easy to identify the related paused interview flow records….I dont know how can I do it.

I was thinking to use a SOQL in order to check if there is any way…it seems there are some objects like FlowInterview, FlowInterviewShare and FlowRecordRelation. The first two contains around 1.9K records but the last one returns 0 records, and it seems this one is the object that contains the relation between the paused flow interview and the record (opportunity)

What can I do?



Source : Link , Question Author : , Answer Author : Community

Leave a Comment