Disable flow automatically

Hello,

I need to find a way how we can disable and enable (On/Off) flow automatically. I was trying to use API but there are now option to Disable/Enable.

Maybe someone have an idea how to achive that? Or we can't do it at all?

0

Comments

2 comments
Date Votes
  • Alexander Ukader, I've moved your post from "Welcome to our community" to the "Troubleshoot custom flows" forum so that you get an answer more quickly. Your post URL will remain the same. Thanks!

    0
  • Hi Alexander,
    You can make a PUT call by changing the "disabled" field to true.

    Example:

    PUT https://api.integrator.io/v1/flows/<yourFlowId>


    {
    "_id": "<yourFLowId>",
      "lastModified": "2022-08-30T05:40:41.780Z",
    "name": "orderful",
      "disabled": true,
    "_integrationId": "xx",
      "skipRetries": false,
      "pageProcessors": [
        {
          "responseMapping": {
            "fields": [],
            "lists": []
          },
          "type": "import",
        "_importId": "xx"
        }
      ],
      "pageGenerators": [
        {
        "_exportId": "xx",
          "skipRetries": false
        }
      ],
      "createdAt": "2022-07-14T11:38:44.000Z",
      "free": false,
    "_sourceId": "xx",
      "autoResolveMatchingTraceKeys": true
    }

     

    1

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post