Skip to Content

Check if a Field Is Empty

You can check if a field is empty and perform the required actions depending on a returned value. For example, you may want to mark requests, software bugs, or issues that were rejected and group them to the list. For this purpose use both IF and EMPTY functions.

To add the rule:

1. Select a workspace, select an application.

2. Click «Fields» and create the «Rejected Date» (ID: RejectedDate) field of the Date/Time type. Click «Form» and drag the created field into the form.

3. Click «Workflow Scheme», double-click on the End step and go to «Pre-populate Fields». Set the following value for the «Rejected Date» field:


This value will be applied on enter the «Rejected» step thus creating a time stamp on entering the step.

4. Create the «Was Rejected» field of the List of Values type. Populate the list with the following values:

Value ID (created automatically)
Yes WasRejected.values.Yes
No WasRejected.values.No

5. Go to «Form». Drag the created field to the workflow item form.

6. Return to «Workflow Scheme», double-click on the «Rejected» step and go to «Pre-populate Fields». Set the following value for the «Was Rejected» field:

IF(EMPTY($RejectedDate), "WasRejected.values.No", "WasRejected.values.Yes")

This rule assigns the «Yes» value to the «Was Rejected» field, if the «Rejected Date» field isn’t empty, and assigns «No» otherwise.

Afterwards you can create the list of workflow items marked as rejected.