編輯

共用方式為


Process Trigger (ProcessTrigger) table/entity reference

Trigger that invoke a rule.

Messages

The following table lists the messages for the Process Trigger (ProcessTrigger) table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Create
Event: False
POST /processtriggers
See Create
Create records
Delete
Event: False
DELETE /processtriggers(processtriggerid)
See Delete
Delete records
Retrieve
Event: False
GET /processtriggers(processtriggerid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: False
GET /processtriggers
See Query data
Query data
Update
Event: False
PATCH /processtriggers(processtriggerid)
See Update
Update records
Upsert
Event: False
PATCH /processtriggers(processtriggerid)
See Upsert a table row
UpsertRequest

Properties

The following table lists selected properties for the Process Trigger (ProcessTrigger) table.

Property Value
DisplayName Process Trigger
DisplayCollectionName Process Triggers
SchemaName ProcessTrigger
CollectionSchemaName ProcessTriggers
EntitySetName processtriggers
LogicalName processtrigger
LogicalCollectionName processtriggers
PrimaryIdAttribute processtriggerid
TableType Standard
OwnershipType None

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

ControlName

Property Value
Description Name of the control.
DisplayName Control Name
IsValidForForm True
IsValidForRead True
LogicalName controlname
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

ControlType

Property Value
Description Type of the control to which this trigger is bound
DisplayName Control Type
IsValidForForm False
IsValidForRead True
LogicalName controltype
RequiredLevel None
Type Picklist
DefaultFormValue -1
GlobalChoiceName processtrigger_controltype

ControlType Choices/Options

Value Label
1 Attribute
2 Form Tab

Event

Property Value
Description Indicates the event.
DisplayName Event
IsValidForForm True
IsValidForRead True
LogicalName event
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

FormId

Property Value
Description Unique identifier of the form associated with the trigger.
DisplayName Form
IsValidForForm True
IsValidForRead True
LogicalName formid
RequiredLevel None
Type Lookup
Targets systemform

IsCustomizable

Property Value
Description Indicates whether this component can be customized.
DisplayName Customizable
IsValidForForm False
IsValidForRead True
LogicalName iscustomizable
RequiredLevel SystemRequired
Type ManagedProperty

MethodId

Property Value
Description Displays StageID to which the PBL rule belongs to
DisplayName MethodId
IsValidForForm False
IsValidForRead True
LogicalName methodid
RequiredLevel None
Type Uniqueidentifier

PipelineStage

Property Value
Description Pipeline Stage to Execute Workflow Event Plugin.
DisplayName PipelineStage
IsValidForForm False
IsValidForRead True
LogicalName pipelinestage
RequiredLevel SystemRequired
Type Picklist
DefaultFormValue -1
GlobalChoiceName processtrigger_pipelinestage

PipelineStage Choices/Options

Value Label
0 Default Value
20 Before Main Operation
40 After Main Operation

PrimaryEntityTypeCode

Property Value
Description Primary entity for the process which is invoked by the event.
DisplayName Primary Entity
IsValidForForm False
IsValidForRead True
LogicalName primaryentitytypecode
RequiredLevel SystemRequired
Type EntityName

ProcessId

Property Value
Description Shows the ID of the process.
DisplayName Process
IsValidForForm False
IsValidForRead True
LogicalName processid
RequiredLevel SystemRequired
Type Lookup
Targets workflow

ProcessTriggerId

Property Value
Description Unique identifier of the process trigger record.
DisplayName Process Trigger
IsValidForForm False
IsValidForRead True
LogicalName processtriggerid
RequiredLevel SystemRequired
Type Uniqueidentifier

Scope

Property Value
Description Scope level for PBL rules.
DisplayName Scope
IsValidForForm False
IsValidForRead True
LogicalName scope
RequiredLevel SystemRequired
Type Picklist
DefaultFormValue -1
GlobalChoiceName pbl_scope

Scope Choices/Options

Value Label
1 Form
2 Entity

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

ComponentState

Property Value
Description For internal use only.
DisplayName Component State
IsValidForForm False
IsValidForRead True
LogicalName componentstate
RequiredLevel SystemRequired
Type Picklist
DefaultFormValue -1
GlobalChoiceName componentstate

ComponentState Choices/Options

Value Label
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished

CreatedBy

Property Value
Description Shows who created the record.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel None
Type Lookup
Targets systemuser

CreatedOn

Property Value
Description Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

CreatedOnBehalfBy

Property Value
Description Shows who created the record on behalf of another user.
DisplayName Created By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

IsManaged

Property Value
Description Indicates whether the solution component is part of a managed solution.
DisplayName Is Managed
IsValidForForm False
IsValidForRead True
LogicalName ismanaged
RequiredLevel SystemRequired
Type Boolean
GlobalChoiceName ismanaged
DefaultValue False
True Label Managed
False Label Unmanaged

ModifiedBy

Property Value
Description Shows who last updated the record.
DisplayName Modified By
IsValidForForm True
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedOn

Property Value
Description Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.
DisplayName Modified On
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

ModifiedOnBehalfBy

Property Value
Description Shows who last updated the record on behalf of another user.
DisplayName Modified By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

OverwriteTime

Property Value
Description For internal use only.
DisplayName Record Overwrite Time
IsValidForForm False
IsValidForRead True
LogicalName overwritetime
RequiredLevel SystemRequired
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

OwnerId

Property Value
Description Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user.
DisplayName Owner
IsValidForForm False
IsValidForRead True
LogicalName ownerid
RequiredLevel ApplicationRequired
Type Owner
Targets systemuser, team

OwnerIdType

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridtype
RequiredLevel SystemRequired
Type EntityName

OwningBusinessUnit

Property Value
Description Select the business unit that owns the record.
DisplayName Owning Business Unit
IsValidForForm False
IsValidForRead True
LogicalName owningbusinessunit
RequiredLevel ApplicationRequired
Type Uniqueidentifier

OwningUser

Property Value
Description Unique identifier for the user that owns the record.
DisplayName Owning User
IsValidForForm False
IsValidForRead True
LogicalName owninguser
RequiredLevel ApplicationRequired
Type Uniqueidentifier

ProcessTriggerIdUnique

Property Value
Description For internal use only.
DisplayName Process Id
IsValidForForm False
IsValidForRead True
LogicalName processtriggeridunique
RequiredLevel SystemRequired
Type Uniqueidentifier

SolutionId

Property Value
Description Unique identifier of the associated solution.
DisplayName Solution
IsValidForForm False
IsValidForRead True
LogicalName solutionid
RequiredLevel SystemRequired
Type Uniqueidentifier

SupportingSolutionId

Property Value
Description For internal use only.
DisplayName Solution
IsValidForForm False
IsValidForRead False
LogicalName supportingsolutionid
RequiredLevel None
Type Uniqueidentifier

VersionNumber

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

lk_processtriggerbase_createdby

One-To-Many Relationship: systemuser lk_processtriggerbase_createdby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdby
ReferencingEntityNavigationPropertyName createdby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_processtriggerbase_createdonbehalfby

One-To-Many Relationship: systemuser lk_processtriggerbase_createdonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdonbehalfby
ReferencingEntityNavigationPropertyName createdonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_processtriggerbase_modifiedby

One-To-Many Relationship: systemuser lk_processtriggerbase_modifiedby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedby
ReferencingEntityNavigationPropertyName modifiedby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_processtriggerbase_modifiedonbehalfby

One-To-Many Relationship: systemuser lk_processtriggerbase_modifiedonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedonbehalfby
ReferencingEntityNavigationPropertyName modifiedonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

process_processtrigger

One-To-Many Relationship: workflow process_processtrigger

Property Value
ReferencedEntity workflow
ReferencedAttribute workflowid
ReferencingAttribute processid
ReferencingEntityNavigationPropertyName processid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

processtrigger_systemform

One-To-Many Relationship: systemform processtrigger_systemform

Property Value
ReferencedEntity systemform
ReferencedAttribute formid
ReferencingAttribute formid
ReferencingEntityNavigationPropertyName formid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

ProcessTrigger_SyncErrors

Many-To-One Relationship: syncerror ProcessTrigger_SyncErrors

Property Value
ReferencingEntity syncerror
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName ProcessTrigger_SyncErrors
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference
processtrigger