---
title: "Example 11 - Before Closure Screen - Ensure all Activities named \"Form 211\" are closed"
canonical: "https://help.fieldbuddy.com/space/FBDOCS/5987794952/Example%2011%20-%20Before%20Closure%20Screen%20-%20Ensure%20all%20Activities%20named%20%22Form%20211%22%20are%20closed"
format: markdown
---
For Details check: [https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/5381455880](https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/5381455880)

This example might not have an immediate practical use, but it can serve as a starting point for creating one.

It shows how to prevent accessing the Closure Screen if any activity with a name containing 'Form 211' is still open.

```
EXAMPLE-11 Disable WO Closure without non-completed Form 211 at 
f=()=>{return 24 >= 0;};Boolean(f());
Pass: false
ErrorMessage: Close all the checklist Form 211!
```