BulkDeleteAssets

Use this node to specify which assets are deleted when the delete app function is called. This removes dashboards, visualizations, semantic models, and workspaces.

Asset Type Name for Rules 

Not supported

Example Definition in chain.json 

1{
2  "name": "Delete Templated App",
3  "label": "Deletes the templated app and all of its assets",
4  "dominoVariant": "sfdc_internal__UnifiedAnalyticsDominoVariant",
5  "parameters": {},
6  "definition": {
7    "nodes": {
8      "delete_assets": {
9        "graphNodeType": {
10          "name": "BulkDeleteAssets"
11        },
12        "parameters": {
13          "assetTypes": []
14        },
15        "sources": [],
16        "runAs": "CurrentUser"
17      }
18    }
19  }
20}

Parameters 

ParameterDefinition
assetTypes(Required) A list of asset types to delete. An empty list deletes all asset types.
condition(Optional) An EL expression, evaluated at runtime, that determines whether to upload this CSV or not.

Set runAs to CurrentUser so that deletion is limited to the permissions of the user installing the app. If you omit runAs, the node runs as AutoProc, a system user, which fails security review in delete chains.

Note

App Context Values 

Nothing added to App Context.

On Failure 

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

See Also