Editar

Compartilhar via


Interceptor BamActivity Element

The BamActivity element defines a single BAM activity.

Format

The BamActivity element includes a Name attribute and contains one or more OnEvent elements.

<ic:BamActivity Name="PurchaseOrder">  
  <!-- One or more OnEvent elements -->  
</ic:BamActivity>   

Attributes

Attribute name Description
Name User-defined name of the BAM activity.

Example

The following example contains a sample BamActivity for "MyOrderWorkflow" with a single OnEvent.

<ic:BamActivity Name="MyOrderWorkflow">  
  <ic:OnEvent Name="MyActivityEvent"  Source="OrderWorkflow">  
    …  
  </ic:OnEvent>  
</ic:BamActivity>  

See Also

Interceptor EventSource Element
Interceptor OnEvent Element