DataKitInstalledReadiness

Use this node to check whether a Data 360 data kit is installed in a target data space. Resolves to true if the kit is installed, false otherwise.

Asset Type Name for Rules 

Not supported

Example Definition in chain.json 

1{
2  "name": "perform_data_kit_installed_readiness_check",
3  "label": "Readiness check to verify if a data kit is installed ",
4  "dominoVariant": "sfdc_internal__UnifiedAnalyticsDominoVariant",
5  "parameters": {},
6  "definition": {
7    "nodes": {
8      "data_kit_installed_check": {
9        "graphNodeType": {
10          "name": "DataKitInstalledReadiness"
11        },
12        "parameters": {
13          "name": "DataKitInstalledCheck",
14          "dataKitDevName": "${Variables.dataKitDevName}",
15          "dataSpaceName": "${Variables.dataSpaceName}",
16          "valueOnError": true
17        },
18        "sources": [],
19        "runAs": "CurrentUser"
20      }
21    }
22  }
23}

Parameters 

ParameterDefinition
name(Required) The name of the readiness check. The result is stored in the app context as ${Readiness.DataKitInstalledCheck}.
dataKitDevName(Required) The developer name of the Data 360 data kit to check.
dataSpaceName(Required) The name of the data space where the data kit is installed.
condition(Optional) An EL expression, evaluated at runtime, that determines whether to run this readiness check or not.
valueOnError(Optional) A default boolean value to use if the readiness check encounters a transient error, such as a Data 360 service failure. When omitted, the check resolves to false on error.

Set runAs to CurrentUser so that this node runs with the permissions of the user installing the app. If you omit runAs, the node runs as AutoProc, a system user.

Note

App Context Values 

App Context ValueDefinition
Readiness.<name>A boolean indicating whether the named data kit is installed in the target data space (true) or not (false).

On Failure 

Failure handling depends on whether valueOnError is defined:

  • If no valueOnError is defined, the result is passed through as it is. A failed check returns FAIL_TERMINAL and the chain stops.
  • If valueOnError is present and the task succeeded, the result is passed through as it is.
  • If valueOnError is present and the task failed for any reason, the task returns WARN_AND_CONTINUE and passes along the error message. valueOnError is written to the app context so that downstream nodes can continue.

See Also