DataMaintenanceStep

Applies to KDTooling Deployment Manager 1.2

Content

Overview

Fix data inconsistencies via update/delete for existing entities

Name

DataMaintenanceStep

Type

Deployment Definition

IsPostBuild

True

Parameters

Name

Type

Description

Title

String

Title

TargetEnvironment

Dropdown

Target Environment

Impersonation

Dropdown

Defines in which user context the step gets executed. E.g. impersonation of type “CreatedBy” executes the step in the context of the user, which created the data record. If type “None” is selected the step gets executed in the deployment users context. (See Additional Info)

Operation

Dropdown

Operation

Mode

Dropdown

Mode

FilterFetchXml

String

Filter FetchXML

DataString

String

Define fields which should be updated (With the same value).

Dependencies

None

Examples

Simple Mode

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
	<entity name="campaign">
		<attribute name="name" />
		<attribute name="istemplate" />
		<attribute name="statuscode" />
		<attribute name="createdon" />
		<attribute name="campaignid" />
		<order attribute="name" descending="false" />
		<filter type="and">
			<condition attribute="ownerid" operator="eq-userid" />
			<condition attribute="statecode" operator="eq" value="0" />
		</filter>
	</entity>
</fetch>

Advanced Mode

Resolves the value for the attribute “kupp_details” during execution

Build Provider

  • Local Visual Studio: Supported

  • Team Foundation Server: Supported

Troubleshooting

-

Additional Information

Impersonation Behaviour Table:

Impersonation

Behaviour

None

Step gets executed in the deployment users context

CreatedBy

Step gets executed in the context of the user which created the data record

ModifiedBy

Step gets executed in the context of the user which modified the data record latest

Owner

Step gets executed in the context of the user which owns the record

Need help? Contact support