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.
(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 Value
Definition
App.Dataspace.Name
The name of the data space.
App.Dataspace.Prefix
The prefix of the data space.
App.Dataspace.PrefixWithUnderscore
The 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.