| KrewData Features > Commands > Data Check |
![]()
The Data Check command checks the field value based on the conditions set by the user.

| Settings | Description |
|---|---|
| 1. Select the behavior if a check error is detected. |
Select the behavior when the check error is detected.
|
| 2. Select the data check error app that outputs the record information judged as an error. | Click Select APP to create a new data check error app that outputs the record information results in check error, or select an existing app. |
| 3. Set check items. | Set the check content. |
| Settings | Description |
|---|---|
| (1) Select target field to check | Select the field for which you want to validate the value. |
| (2) Set check items and conditions |
Set check items and conditions of the fields. The check items that can be set are as follows. Also, you can set multiple check items for one field.
|
| Settings | Description |
|---|---|
| (1) Select target field to check | Select the field for which you want to validate the value. |
| (2) Set check items and conditions |
Set check items and conditions of the fields. The check items that can be set are as follows.
|
| Settings | Description |
|---|---|
| (Formula) | Set the check condition using formula. The formula must return a boolean value (TRUE/FALSE). You can refer to the values of other fields of same record by specifying a field as an argument of the function. |
| Settings | Description |
|---|---|
| Compare condition | Specify the condition to compare the value with the target field. You can specify the comparison operator similar to the filtering condition of the Kintone standard view. |
| Value to compare |
Set the value to compare. The method for setting the values are as follows.
|
| Settings | Description |
|---|---|
| Min value |
Set the minimum value to compare. The method for setting the values are as follows.
|
| Max value | Set the maximum value to compare. The method for setting the values are same as the "Min value". |
| Settings | Description |
|---|---|
| Format | Specify the format as a regular expression. |
| Settings | Description | ||
|---|---|---|---|
| Target App |
Specify the target app to check the existence of the value.
|
||
| Field | Specify the field of the target app to check the existence of the value. | ||
| Filter | Set the conditions to filter the records of the target app to be checked. The setting items for the filtering conditions are the same as for the Kintone standard filter. |
| Settings | Description |
|---|---|
| Target App | Specify the target app to check the existence of the item. |
| Field | Specify the field of the target app to check the existence of the item. |
| Settings | Description |
|---|---|
| Type |
Specify the type to check for existence.
|
Check if a value is entered in the required item "Product ID" field of the product master app.

| 1. Select the behavior if a check error is detected. |
|---|
| ・Select the "Stop executing the data editing flow" option. ・Behavior when error is detected : Check all records even after error detection |
| 2. Select the data check error app that outputs the record information judged as an error. |
|---|
| Select the data check error app. |
| 3. Set check items. | |
|---|---|
| Value Check | |
| (1) Select the target fields. | (2) Set check items and conditions. |
| Product ID | Select the "Required check" option. |



Check if the date in the Delivery Date field of the Shipment Management app is after the date in the Ship Date field.

| 1. Select the behavior if a check error is detected. |
|---|
| ・Select the "Stop executing the data editing flow" option. ・Behavior when error is detected : Check all records even after error detection |
| 2. Select the data check error app that outputs the record information judged as an error. |
|---|
| Select the data check error app. |
| 3. Set check items. | |
|---|---|
| Value Check | |
| (1) Select the target fields. | (2) Set check items and conditions. |
| Delivery Date |
Select the "Compare check" option.
|



Check if the value in the "Year" field of the budget management app is in the range of 2019-2021.

| 1. Select the behavior if a check error is detected. |
|---|
| ・Select the "Stop executing the data editing flow" option. ・Behavior when error is detected : Check all records even after error detection |
| 2. Select the data check error app that outputs the record information judged as an error. |
|---|
| Select the data error check app. |
| 3. Set check items. | |
|---|---|
| Value Check | |
| (1) Select the target fields. | (2) Set check items and conditions. |
| Year |
Select the "Value range check" option.
|



Check if the value in the Customer ID field is in the format of 5 digits number.

| 1. Select the behavior if a check error is detected. |
|---|
| ・Select the "Stop executing the data editing flow" option. ・Behavior when error is detected : Check all records even after error detection |
| 2. Select the data check error app that outputs the record information judged as an error. |
|---|
| Select the data error check app. |
| 3. Set check items. | |
|---|---|
| Value check | |
| (1) Select the target fields. | (2) Set check items and conditions. |
| Postal Code |
Select the "Format check" option.
|



Check if the value of the Product ID field exists in the Product ID field of the product master app.


| 1. Select the behavior if a check error is detected. |
|---|
| ・Select the "Stop executing the data editing flow" option. ・Behavior when error is detected : Check all records even after error detection |
| 2. Select the data check error app that outputs the record information judged as an error. |
|---|
| Select the data error check app. |
| 3. Set check items. | |
|---|---|
| Existence check | |
| (1) Select the target fields. | (2) Set check items and conditions. |
| Product ID |
Select the "Valid value check" option.
|



Check if the value of the Category field exists in the selection item of the Category field (dropdown) of the output app (Product Master App).


| 1. Select the behavior if a check error is detected. |
|---|
| ・Select the "Stop executing the data editing flow" option. ・Behavior when error is detected : Check all records even after error detection |
| 2. Select the data check error app that outputs the record information judged as an error. |
|---|
| Select the data error check app. |
| 3. Set check items. | |
|---|---|
| Existence check | |
| (1) Select the target fields. | (2) Set check items and conditions. |
| Product ID |
Select the "Valid item check" option.
|



Check if the value of the Employeee field of Travel Expense Reimbursement app is the kintone user name that exists in the user management.


| 1. Select the behavior if a check error is detected. |
|---|
| ・Select the "Stop executing the data editing flow" option. ・Behavior when error is detected : Check all records even after error detection |
| 2. Select the data check error app that outputs the record information judged as an error. |
|---|
| Select the data error check app. |
| 3. Set check items. | |
|---|---|
| Existence check | |
| (1) Select the target fields. | (2) Set check items and conditions. |
| Employee |
Select the "Valid user check" option.
|



Check if only one of the two fields has a value using the XOR and ISBLANK functions.

| 1. Select the behavior if a check error is detected. |
|---|
| ・Select the "Stop executing the data editing flow" option. ・Behavior when error is detected : Check all records even after error detection |
| 2. Select the data check error app that outputs the record information judged as an error. |
|---|
| Select the data error check app. |
| 3. Set check items. | |
|---|---|
| Custom Check | |
| Set the check condition using formula. The formula must return a boolean value (TRUE/FALSE). | |
| Formula : =XOR(ISBLANK(Input 1),ISBLANK(Input 2)) | |


