Wait Action Workflow Action Set

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

Table Elements and Sections in the Wait 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>WaitTest</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>4</data:Order>
. . .
</data:WorkflowAction>

The <WorkflowWaitAction> section contains the details of the Wait workflow action.

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

<ReevaluateRuleConditionsAfterWait> determines whether the workflow rule condition is to be reevaluated when the waiting period ends (true) or the workflow rule condition is not to be reevaluated (false).

<data:WorkflowAction>
. . .
  <data:WorkflowWaitAction>
   <data:ReevaluateRuleConditionsAfterWait>
    true
   </data:ReevaluateRuleConditionsAfterWait>
. . .
  </data:WorkflowWaitAction> 
</data:WorkflowAction>

<WaitType> specifies the type of wait period selected in the user interface. The values that are valid are:

  • Period

  • Period Expression

  • Date Time

  • Date Time Expression

<data:WorkflowAction>
. . .
  <data:WorkflowWaitAction>
. . .
    <data:WaitType>Period</data:WaitType>
. . .
  </data:WorkflowWaitAction> 
</data:WorkflowAction>

<DateTime> specifies the date and time the wait period will end, if the <WaitType> value is Date Time.

<data:WorkflowAction>
. . .
  <data:WorkflowWaitAction>
. . .
    <data:DateTime></data:DateTime>
. . .
  </data:WorkflowWaitAction> 
</data:WorkflowAction>

<WaitExpression> contains an expression that specifies the wait period, if the <WaitType> value is Period Expression or Date Time Expression. If the <WaitType> value is Period, then <WaitExpression> indicates the period as PYMDTHM. For example:

  • PYM10DTHM indicates 10 days.

  • P1Y3MDTHM indicates 1 year and 3 months.

  • PYMDT5H15M indicates 5 hours and 15 minutes.

<data:WorkflowAction>
. . .
  <data:WorkflowWaitAction>
. . .
    <data:WaitExpression>PYM10DTHM
    </data:WaitExpression>
  </data:WorkflowWaitAction> 
</data:WorkflowAction>