Property description

The activities property adds individual custom SQL operations to a pipeline.

Minimal JSON

{
  "key": "",
  "name": "",
  "type": "",
  "statement": ""
}
{
  "key": "example_update_attribute",
  "name": "Example Activity (Update Attribute)",
  "type": "sql_script",
  "statement": "UPDATE MR_Attribute SET Text_Value = \u0027automation finished\u0027 WHERE Object_Id = JSON_VALUE(\u0027__@JSON__\u0027, \u0027$.ObjectId\u0027)"
}

Example can be used for callDataFactory automation action.

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey.stringYes
nameName of the asset, used as the default EN translation.stringYes
typeType of the activity. Supported options are: sql_procedure: Executes a stored procedure., sql_query: Runs a single SQL query., sql_script: Executes a full SQL script.stringYes
statementSQL procedure, script, or query to be executed.arrayYes
descriptionDescription of the asset.stringNo
executionOrderNumberExecution order of the activity within the pipeline.integerNo
isReturningDataIndicates if data is expected. Differentiates between result-producing queries (e.g., SELECT) and action queries (e.g., INSERT, UPDATE, DELETE).booleanNo
parametersInput parameters.stringNo
runInTransactionDetermines whether the statements execute within a transaction.booleanNo