0

Is it possible to update flow status from Active to Inactive using tooling API

Used OTP tooling api to update flow

with below body

{“Metadat”: { “Status”: “Inactive”}}

General Grievance
  • 4,555
  • 31
  • 31
  • 45

1 Answers1

0

To update the Flow's status through the tooling api you will want to set the Status to Obsolete.

see: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_flow.htm

you can fetch the active version id of the Flow from the FlowDefintion Object

see: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_flowdefinition.htm

C0D4
  • 1
  • 1