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
Creating a Local User
Viewed 202 times since Wed, Dec 5, 2018

Moving a Task to Another Application
Viewed 104 times since Wed, Dec 5, 2018

About identifiers
Viewed 116 times since Wed, Dec 5, 2018

About CSV Import
Viewed 169 times since Wed, Dec 5, 2018

Comindware Tracker Server Log
Viewed 191 times since Wed, Dec 5, 2018

Assign a manager to a workflow task depending on the priority
Viewed 97 times since Wed, Dec 5, 2018

Deleting The Dashboard
Viewed 101 times since Wed, Dec 5, 2018

Removing a Field
Viewed 104 times since Wed, Dec 5, 2018

Assigning Licenses to Users
Viewed 209 times since Wed, Dec 5, 2018

How to Create a Workspace
Viewed 100 times since Wed, Dec 5, 2018