Create Integration Event Workflow Action Set

The following table describes the elements and sections in the Create Integration Event workflow action set XML output file.

Table Elements and Sections in the Create Integration Event Workflow Action Set XML File

Description Element or Section

<WorkflowName> contains the name of the workflow rule with which this action is associated. When performing an Upsert or InsertOrUpdate operation for workflow actions, this name is used to find a matching workflow rule.

<data:WorkflowName>Opportunity Approval
</data:WorkflowName>

The <WorkflowAction> section contains the details of the workflow action.

<data:WorkflowAction> 
. . .
</data:WorkflowAction>

<Name> is the name of the workflow action.

<data:WorkflowAction> 
  <data:Name>EventQueue</data:Name>
. . .
</data:WorkflowAction>

<Active> specifies whether the workflow action is active (true) or inactive (false).

<data:WorkflowAction> 
. . .
  <data:Active>true</data:Active>
. . .
</data:WorkflowAction>

<Order> is the order number for the workflow action within the set of actions on the workflow rule. It determines the order in which Oracle CRM On Demand invokes the sequence of workflow actions on the workflow rule.

<data:WorkflowAction> 
. . .
  <data:Order>6</data:Order>
. . .
</data:WorkflowAction>

The <WorkflowCreateIntegrationEvent> section contains the details of the Create Integration Event workflow action.

<data:WorkflowAction> 
. . .
  <data:WorkflowCreateIntegrationEventAction>
. . .
  </data:WorkflowCreateIntegrationEventAction>
</data:WorkflowAction>

The <ListOfQueues> section specifies the queues to which the integration events are to be written. <QueueName> contains the name of a queue.

<data:WorkflowAction> 
. . .
  <data:WorkflowCreateIntegrationEventAction>
    <data:ListOfQueues>
      <data:QueueName>Default Queue
      </data:QueueName>
    . . .
    </data:ListOfQueues>
. . .
  </data:WorkflowCreateIntegrationEventAction>
</data:WorkflowAction>

The <ListOfFields> section specifies the fields that are tracked by the Create Integration Event workflow action.

<data:WorkflowAction> 
. . .
  <data:WorkflowCreateIntegrationEventAction>
. . .
    <data:ListOfFields>
. . .
    </data:ListOfFields>
  </data:WorkflowCreateIntegrationEventAction>
</data:WorkflowAction>

<FieldName> contains the system name of the field.

<data:WorkflowAction> 
. . .
  <data:WorkflowCreateIntegrationEventAction>
. . .
    <data:ListOfFields>
      <data:FieldName>Currency Code
      </data:FieldName>
. . .
    </data:ListOfFields>
. . .
  </data:WorkflowCreateIntegrationEventAction>
</data:WorkflowAction>

<AlwaysInclude> specifies whether the field is included in the integration event, even if the value of the field has not been changed (true) or if the field is included in the integration event only when the value of the field is changed (false).

<data:WorkflowAction> 
. . .
  <data:WorkflowCreateIntegrationEventAction>
. . .
    <data:ListOfFields>
      <data:AlwaysInclude>true
      </data:AlwaysInclude>
. . .
    </data:ListOfFields>
  </data:WorkflowCreateIntegrationEventAction>
</data:WorkflowAction>

<TrackChanges> specifies whether an integration event is generated each time the field is updated (true). The workflow action creates an integration event only if <TrackChanges> is set to true for at least one field, and if a change is detected in at least one of the fields for which <TrackChanges> is set to true.

<data:WorkflowAction> 
. . .
  <data:WorkflowCreateIntegrationEventAction>
. . .
    <data:ListOfFields>
. . .
      <data:TrackChanges>true
      </data:TrackChanges>
    </data:ListOfFields>
  </data:WorkflowCreateIntegrationEventAction>
</data:WorkflowAction>

<SchemaVersion> specifies the Web service schema version that is to be used for the integration events. Web Services v2.0 is the default value.

<data:WorkflowAction> 
. . .
  <data:WorkflowCreateIntegrationEventAction>
. . .
    <data:SchemaVersion>Web Services v2.0
    </data:SchemaVersion>
  </data:WorkflowCreateIntegrationEventAction>
</data:WorkflowAction>