Dataspace

Use this node to fetch a Data 360 data space.

When this task runs successfully, the app context token can be used in the semantic data model template asset JSON, or in other assets. "dataspace": "${App.Dataspace.Name}".

Add this token to the templatized asset files for assets requiring data space support, such as semantic data models and batch data transforms.

Asset Type Name for Rules 

Not supported

Example Definition in chain.json 

1{
2  "name": "fetch_dataspace",
3  "label": "Gets a data space",
4  "dominoVariant": "sfdc_internal__UnifiedAnalyticsDominoVariant",
5  "parameters": {},
6  "definition": {
7    "nodes": {
8      "fetch_dataspace": {
9        "graphNodeType": {
10          "name": "Dataspace"
11        },
12        "parameters": {
13          "dataspace": "${Variables.MyDataspace}"
14        },
15        "sources": [],
16        "runAs": "CurrentUser"
17      }
18    }
19  }
20}

Parameters 

ParameterDefinition
dataspace(Required) The data space name to add to the app context.
condition(Optional) An EL expression, evaluated at runtime, that determines whether to fetch the data space name or not.

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 

Data spaces get an entry in the App Context if the fetch is successful.

App Context ValueDefinition
App.Dataspace.NameThe name of the data space.
App.Dataspace.PrefixThe prefix of the data space.
App.Dataspace.PrefixWithUnderscoreThe prefix of the data space with an appended underscore.

On Failure 

If this task fails, it returns a FAIL_TERMINAL status. The chain stops and no downstream nodes run.

See Also