MEIGAS4InboundSample sample business process

The MEIGAS4InboundSample business process writes the document to the file share and sends a visibility event. There is no reply or response.

Business process definition

The following code shows the MEIGAS4InboundSample business process definition:

<process name = "MEIGAS4InboundSample"> 
  <sequence name="Sequence Start">
    <operation name="File System Adapter">
      <participant name="MEGFileSystemAdapter"/>
      <output message="FileSystemInputMessage">
        <assign to="." from="*"></assign>
        <assign to="Action">FS_EXTRACT</assign>
        <assign to="extractionFolder">/ais_local/share/ydiao/5201ga/install/meg/sample/extract</assign>
      </output>
      <input message="inmsg">
        <assign to="." from="*"></assign>
      </input>
    </operation>

    <operation name="VisEventAdapterType">
      <participant name="VisEventSenderAdapter"/>
      <output message="VisEventAdapterTypeInputMessage">
        <assign to="." from="*"></assign>
        <assign to="customText">Payload processed by custom BP</assign>
        <assign to="eventAction">CUSTOM</assign>
        <assign to="eventData">Sample BP Doc Processing</assign>
        <assign to="eventStatus">SUCCESS</assign>
      </output>
      <input message="inmsg">
        <assign to="." from="*"></assign>
      </input>
    </operation>

  </sequence>
</process>