Deactivation Tedge Flows

Hi Guys

as it is stated in the documentation Flows | Thin-edge
flows are copied to /etc/tedge/mappers/c8y/flows/ or in my case it is
/var/snap/ctrlx-cumulocity-thin-edge-io/x27/tedge/mappers/c8y/flows/high-temp-alert/flow.toml (installation has happenend from the cloud via Cumulocity)

Is there a way to deactivate a flow or do I have to undeploy/remove my flow from the flows folder?

Currently there isn’t way to deactivate a flow, so we recommend just removing it via the software removal functionality of Cumulocity.

If you’re just doing local operations, then you can just move the folder out of the flows/ directory and it will be unloaded from the corresponding mapper, e.g.

mv /var/snap/ctrlx-cumulocity-thin-edge-io/x27/tedge/mappers/c8y/flows/high-temp-alert /tmp/