# Defekte Flows Kennzeichnung

**URL:** <https://community.homey.app/t/defekte-flows-kennzeichnung/90690>\
**Category:** Fragen & Hilfe\
**Created:** [October 1, 2023, 3:51pm UTC](https://community.homey.app/t/defekte-flows-kennzeichnung/90690 "2023-10-01T15:51:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 2, 2023, 1:43am UTC](https://community.homey.app/t/defekte-flows-kennzeichnung/90690/2 "2023-10-02T01:43:28Z")

</div>

Hier funktioniert es immer noch gut. Es ist an der Zeit, den Cache zu löschen und den Browser neu zu starten, mit zB. (ctrl+shift+R)  
oder:

> **[How to Clear the Cache and Cookies in Your Web Browser](https://its.uiowa.edu/services/how-clear-cache-and-cookies-your-web-browser)**
>
> Why Clear Cache and Cookies? Clearing the cache and cookies from a web browser is an important first-step for almost any troubleshooting for internet browsing. The 'cache' is a tool used by your internet browser to speed up the page loading process....

> **[How to Clear Cache and Cookies in Every Major Browser](https://www.lifewire.com/how-to-clear-cache-2617980)**
>
> Here is how to clear the browser cache in Chrome, Firefox, Edge, Safari, etc. To clear cache means to remove stored copies of web pages.

.

Es gibt auch ein Homeyscript-Skript, das anzeigt, welche Abläufe unterbrochen sind:  
(Installieren Sie dazu die [Homeyscript app](https://homey.app/a/com.athom.homeyscript/))  
Kopieren Sie den nachstehenden Code und fügen Sie ihn in den Flowkarte ein: “Dann” “Führe Homeyscript-Code aus”  
Führe dann den Flow aus, und überprüfen Sie Ihre Zeitleiste. Das war’s.

```auto
// Get broken flows and write result to timeline and a variable/tag [BrokenFlows], else OK msg //
//
const flows = Object.values(await Homey.flow.getFlows({filter: { broken: true }})).map(f => f.name)

// Create string [flowsString] from array [flows], so it can be written into variable "BrokenFlows"
const flowsString = JSON.stringify(flows) 
// Check if flowsString is empty (besides [and] >> flowsString.length > 2) 
  if (flowsString.length > 2) {
     // Remove the starting & trailing brackets
     var flowsStringTrimmed = flowsString.slice(1, -1);
     // (create&)write variable/tag [BrokenFlows] with contents of [flowsStringTrimmed]
     await tag("BrokenFlows", flowsStringTrimmed ); 
     // Timeline notification
     await Homey.flow.runFlowCardAction({
       uri: 'homey:manager:notifications',
       id: 'create_notification',
       args: {
          text: 'Broken Flows today: ' + flowsStringTrimmed + '\n [script: FindBrokenFlows.js]'
        },
      });
   } else {
        var flowsStringTrimmed = "No broken flows found";
        await tag("BrokenFlows", flowsStringTrimmed );
        // OPTIONAL, if you'd like to be informed all's fine
        // Timeline notification
        await Homey.flow.runFlowCardAction({
          uri: 'homey:manager:notifications',
          id: 'create_notification',
          args: {
            text: 'Broken Flows today: ' + flowsStringTrimmed + ' [script: FindBrokenFlows.js]'
        },
      });
      }
log('Check your timeline for results!');
return (true);

```

.

 ![Screenshot from 2023-10-02 04-00-06](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/5/b50680a574d11d494118f81e23d8f32da8c9126d.png)

.

Wenn Du es automatisieren woll, probier [die Flow Checker App](https://homey.app/a/com.athom.flowchecker/) aus, die noch viel mehr Sachen überwacht!

> [@\[APP\]\[Pro\] Flow Checker](https://community.homey.app/t/app-pro-flow-checker/50986):
>
> Flow Checker - Get insight in you Homey Flows Useful links [To-Do List](https://community.homey.app/t/app-flowchecker/50986/3)[Frequently Asked Questions](https://community.homey.app/t/app-flowchecker/50986/4)[Changelog](https://community.homey.app/t/app-flowchecker/50986/2) Retrieve information from your Homey Flows. Get notification when a value has changed. Current features: Notify broken flows (default enabled) Notify disabled flows (default disabled) Notify flows with broken variables (default enabled) Overview broken flows Overview disabled flow Overview flows with broken variables TIP: Enable push no…

übersetzt mit [deepl.com](http://deepl.com)

---

_[View the full topic](https://community.homey.app/t/defekte-flows-kennzeichnung/90690)._
