We have 100+ scheduled Process builders that triggers based on conditions. As a end user We want to show which process builder Actions scheduled related with Lead/Contact object as creating child object of Lead/Contact.

I did SOQL query on "FlowInterview" but this does not any relationship with contact/Lead record Id.

Can any one please suggest workaround on this.


Try SOQL on FlowRecordRelation - the ParentId and the RelatedRecordId are a junction between the FlowInterview and the SObject, respectively

  • 1
    Brian, FlowRecordRelation is not returning records in SOQL Query even Process builder actions scheduled. – Prakash Nawale Jan 13 '20 at 13:08
  • Are you sure you have Flows in the schedule? If you look through the scheduled Flows via Setup, you can confirm items are in the queue? – Brian Miller Jan 13 '20 at 14:30
  • It seems that records for this object are created when you explicitly set {!$Flow.CurrentRecord} in a Flow. This will then be used to display the new Paused Flow Interviews component in the app builder. – Steven.B Jan 31 '20 at 12:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.