Example for InitiateWorkflow Activity

The following sample tries to resume a workflow using a MessageID.

<Activity Name="RestartWfMsg">
<Start/>
  <Action>InitiateWorkflow</Action>
  <Execution>ASYNCHR</Execution>
  <Description lang="en">Create a new event to restart    workflow.</Description>
  <Parameter direction="in" eval="variable" type="document"    name="InDocument">inDoc</Parameter>
  <Parameter direction="in" name="Command" type="string"    eval="constant">RESUME</Parameter>
  <Parameter direction="in" name="ProcessIDType" type="string"    eval="constant">MESSAGEID</Parameter>
  <Parameter direction="in" name="ProcessID" type="string"    eval="variable">msgID</Parameter>
</Activity>