Field Update Workflow Action Set

The following table describes the elements and sections in the Field Update workflow action set XML output file.

Table Elements and Sections in the Field Update 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>UpdateFieldTest</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.

Note: A Field Update Workflow action must be preceded by at least one Wait action.
<data:WorkflowAction> 
. . .
  <data:Order>5</data:Order>
. . .
</data:WorkflowAction>

The <WorkflowFieldUpdateAction> section contains the details of the Update Values workflow action.

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

<FieldName> is the system name of the field.

<data:WorkflowAction> 
. . .
  <data:WorkflowFieldUpdateAction>
    <data:FieldName>Total Asset Value
    </data:FieldName>
. . .
  </data:WorkflowFieldUpdateAction>
</data:WorkflowAction>

<Value> is the new value for the field.

<data:WorkflowAction> 
. . .
  <data:WorkflowFieldUpdateAction>
. . .
    <data:Value>10000</data:Value>
. . .
  </data:WorkflowFieldUpdateAction>
</data:WorkflowAction>

<OverwriteExistingValues> specifies whether the existing value in the field (if the field has an existing value) is to be overwritten with the new value (true) or is not to be overwritten (false). If the field is empty, the field is updated with the new value, even if <OverwriteExistingValues> is set to false.

<data:WorkflowAction> 
. . .
  <data:WorkflowFieldUpdateAction>
. . .
    <data:OverwriteExistingValues>true
    </data:OverwriteExistingValues>
  </data:WorkflowFieldUpdateAction>
</data:WorkflowAction>