Example for ProcessServiceMessage Activity

<Activity Name="ProcessServiceMessage">
<Start/>
  <Action>ProcessServiceMessage</Action>
  <Description lang="en">Process the service message</Description>
  <Parameter direction="in" type="string" eval="constant"    name="eventState">SERVICEMESSAGEPROCESS</Parameter>
  <Parameter direction="in" name="InDocument" type="document"    eval="variable">inDoc</Parameter>
  <Parameter direction="out" eval="variable" type="document"    name="OutDocument">workDoc</Parameter>
</Activity>