You need to sign in to do that
Don't have an account?
Prit Kang 8
Can I get flow interview details using APEX/Metadata/Tooling API for any specific record?
My Use case:
1. I have created a trigger flow on Lead to run after 3 days of lead creation.
2. I want to show the interview status in a LWC component
3. Users can pause/reschedule interviews from the LWC component.
My question is,
1. Can I get the current running status of in-flows Interview via APEX/Metadata/Tooling API?
2. Can I pause/resume or reschedule Interview using APEX, MetaData or Tooling API
Thanks,
1. I have created a trigger flow on Lead to run after 3 days of lead creation.
2. I want to show the interview status in a LWC component
3. Users can pause/reschedule interviews from the LWC component.
My question is,
1. Can I get the current running status of in-flows Interview via APEX/Metadata/Tooling API?
2. Can I pause/resume or reschedule Interview using APEX, MetaData or Tooling API
Thanks,
To get the running status of an in-flows interview via the Salesforce APIs, you can use the Tooling API. You can use the FlowInterview object to query the status of a specific in-flows interview. The FlowInterview object contains fields that provide information on the status of the interview, such as InterviewStatus, Paused, Resumed, and Rescheduled.
You can use the update() method of the appropriate API, such as APEX, Metadata, or Tooling, to update the FlowInterview object.
--> https://support.formtitan.com/topics/Salesforce/Flow_Interview_Share_Object
--> https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_flowinterview.htm
Hope it helps !
Thank you.