Example for GetSyncStatus Activity

The example returns the Channel, trading Partner IDs, sync status and trading partner credentials as well as the product key for a given status group, lynch status and organization type.

<Activity Name="GetSyncStatus">
  <Start/>
  <Action>GetSyncStatus</Action>
  <Description lang="en">Lookup function.</Description>
  <Parameter direction="in" type="string" eval="constant"   name="eventState">GetSyncStatus</Parameter>
  <Parameter direction="in" name="InDocument" type="document"   eval="variable">inDoc</Parameter>
  <Parameter direction="in" name="InRecordList" type="recordlist"   eval="variable">workRecordList</Parameter>
  <Parameter direction="in" name="ChannelName" eval="xpath" type="String"   source="/Message/Header/MessageHeader[@origin='Receiver']
  /Organization/PartyID/PartyName/text()">inDoc</Parameter>
  <Parameter direction="in" name="StatusGroup" eval="constant"   type="String">PUBLICATION</Parameter>
  <Parameter direction="in" name="SyncStatus" eval="constant"   type="String">PUBLISHED</Parameter>
  <!--RETAILER/TRADING PARTNER/MARKETPLACE/SUPPLIER-->
  <Parameter direction="in" name="OrganizationType" eval="constant"   type="String">RETAILER</Parameter>
  <Parameter direction="out" name="RecordKey" type="arraylist"   eval="variable">ProductKeyArray</Parameter>
  <Parameter direction="out" name="ChannelCredential" type="arraylist"   eval="variable">SynchChannelArray</Parameter>
  <Parameter direction="out" name="TradingPartnerCredential" type="arraylist"   eval="variable">SynchTradingPartnerArray</Parameter>
  <Parameter direction="out" name="SyncStatus" type="arraylist"   eval="variable">SynchStatusArray</Parameter>
  <Parameter direction="out" name="StatusGroupOut" type="arraylist"   eval="variable">SynchStatusGroupArray</Parameter>
  <Parameter direction="out" name="ChannelID" type="arraylist"   eval="variable">SynchChannelIDArray</Parameter>
  <Parameter direction="out" name="TradingPartnerID" type="arraylist"   eval="variable">SynchTradingPartnerIDArray</Parameter>
  <Parameter direction="out" name="OutRecordList" type="recordlist"   eval="variable">outRecordList</Parameter>
</Activity>