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, go to the Rejected step and then click Pre-populate Fields. Set the following rule for the Rejected Date field:

 $$now

This rule 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

Identifier (created automatically)

Yes

WasRejected.values.Yes

No

WasRejected.values.No

Go to Form. Drag the created field to the workflow task form.

5. Return to Workflow. Click the End step. Set the following rule 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 tasks marked as rejected.

Attachments
There are no attachments for this article.
Feedback
Security Code
Related Articles
Set the task assignee depending on parameters of the parent workflow task/doc
Viewed 46 times since Wed, Dec 5, 2018

Setting Up Personal Notifications
Viewed 46 times since Wed, Dec 5, 2018

Custom E-mail Settings
Viewed 74 times since Wed, Dec 5, 2018

Pre-Populating Item Fields
Viewed 77 times since Wed, Dec 5, 2018

Registering an Account at Comindware Web Site
Viewed 84 times since Wed, Dec 5, 2018

About Comindware Tracker for Microsoft Outlook
Viewed 120 times since Wed, Dec 5, 2018

Creating a User Group
Viewed 47 times since Wed, Dec 5, 2018

What should I do if a product serial number is lost?
Viewed 42 times since Wed, Dec 5, 2018

Vаlidation Rules
Viewed 100 times since Thu, Apr 9, 2020

Organizing Favorites
Viewed 40 times since Wed, Dec 5, 2018