isError
Check whether given entry/entries returned an error. Use ${lastCompletedTaskEntries} to check the previous task entries. If array is provided, will return yes if one of the entries returned an error.
javascript · Common Scripts
Details
| ID | isError |
|---|---|
| Language | javascript |
| From Version | 5.0.0 |
| Tags | Condition Utility |
README
Checks whether a given entry(ies) return an error. Use ${lastCompletedTaskEntries} to check the previous task entries. If an array is provided, it will return “yes” if one of the entries returned an error.
Script Data
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | Condition, Utility |
Inputs
| Argument Name | Description |
|---|---|
| entryId | The entry to check. |
Outputs
| Path | Description | Type |
|---|---|---|
| True | If one or more entries is an error. | Unknown |
| False | If none of the entries is not an error. | Unknown |
commonfields: id: isError version: -1 name: isError script: '' type: javascript tags: - Condition - Utility comment: Check whether given entry/entries returned an error. Use ${lastCompletedTaskEntries} to check the previous task entries. If array is provided, will return yes if one of the entries returned an error. enabled: true args: - name: entryId required: true default: true description: Entry to check isArray: true outputs: - contextPath: yes description: If one or more entries is an error - contextPath: no description: If none of the entries is not an error scripttarget: 0 fromversion: 5.0.0