PropagateByExpression Action

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Creates a quick campaign to distribute an activity to accounts, contacts, or leads that are selected by a query.

This Web API action corresponds to the organization service PropagateByExpressionRequest.

PropagateByExpression action is not bound to any entity types.

Parameters

Parameters allow for data to be passed to the action.

Name

Type

Nullable

Unicode

Description

QueryExpression

QueryBase ComplexType

The query criteria to select accounts, contacts, or leads for which activities are created.

FriendlyName

Edm.String

false

false

The user-identifiable name for the campaign.

ExecuteImmediately

Edm.Boolean

false

Indicates whether the activity is both created and executed.

Activity

crmbaseentity EntityType

false

The activity to be distributed

TemplateId

Edm.Guid

false

The ID of the email template.

OwnershipOptions

PropagationOwnershipOptions EnumType

false

The ownership options for propagation.

PostWorkflowEvent

Edm.Boolean

false

Indicates whether an asynchronous job is used to distribute an activity, such as an email, fax, or letter, to the members of a list.

Owner

crmbaseentity EntityType

false

The owner for the activity.

SendEmail

Edm.Boolean

false

Indicates whether to send an email about the new activity.

QueueId

Edm.Guid

The ID of the queue to which the created activities are added.

Return Type

The PropagateByExpression action returns the following value.

Type

Nullable

Description

PropagateByExpressionResponse ComplexType

false

Contains the response from the PropagateByExpression Action

See Also

Use Web API actions
Web API EntityType Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright