Skip to main content

Empty

ON THIS PAGE

Empty

Boolean function for resource conditions that returns True if the specified resource has no connections (that is, has no value). Otherwise returns False.

Syntax:  

resource.resourcetype.Empty()

 

Examples and results

Examples and results
ExampleResult

Resource filter: App_*

Conditions: resource.stream.Empty()

Action: update

This rule lets the user update an app, provided that the app is not connected (published) to a stream.
Resource filter: App.Sheet_*

Conditions: resource.app.stream.Empty()

Action: update

This rule lets the user update sheets, provided that the app that the sheet belongs to is not published to a stream.