Inside SmartBridge: Journey of incoming data - example 2
What happens inside SmartBridge
Visualized
Step by step
This process actually begins when Partner X delivers an order document to the VAN mailbox. Then, the process in SmartBridge begins:
- A trigger in the Scheduler component is activating a schedule job that must initiate a read communication session on the desired communication module.
- The administrator can also trigger the execution of such a job from the System Management Console (SMC).
- Scheduler posts a message to the Messages Bus having the subject “Start Read Communication Session”.
- The CM-In Activator component is subscribed to the Messages Bus for messages having subject “Start Read Communication Session”, and receives the command message.
- The communication session is then initiated within the Communication Module.
- The Communication Module component retrieves the document from the VAN mailbox.
- A new message is created (carrying in its payload the incoming document) and posted to the Message Bus with a subject of “New Document.”
- Since the Document Analyzer is subscribed to the Message Bus for messages with the “New Document” subject, it receives the message carrying the new document and extracts necessary information from it, identifying it as an EDI Order coming from Partner X.
- The Document Analyzer then posts a message to the Message Bus with a subject of “Known Document,” indicating that the document is ready to be processed.
- Since the Document Processing Dispatcher is subscribed to the Message Bus for messages containing the “Known Document,” it receives the message carrying the recognized document.
- The Document Processing Dispatcher determines the process (workflow) configured to run for the document, according to its type and sender (in this example, an EDI Order from Partner X). A message with subject “Execute Workflow” having the workflow name as a parameter is posted to the Messages Bus.
- The Workflow Processor will receive the message with the subject “Execute Workflow” and will start the execution of the workflow determined by the name receive as parameter.
- The workflow activates that Translator (ETC) in order to convert the document into FlatFile format.
- The FlatFile file is then placed into a configured folder.
- A command batch is executed to begin the ERP import process.
, multiple selections available, Use left or right arrow keys to navigate selected items