Workflow Example: Variable is Empty

This workflow shows how to check if a variable is empty. It offers the user to choices - populate a variable with the text “foo bar”, an image from the camera roll, or leave it empty. The number of characters are counted and if they are greater than zero (including when an image is in the variable), the variable contents are displayed to the user. Otherwise nothing is displayed.

Tags: | workflow |