i cant figure out, how to properly use the TriggerOrderExportProcessCommand which is part from the OmsMiddlewareConnector.
I followed the spryker tutorial https://documentation.spryker.com/spryker-middleware.htm but for example it’s unclear to me, why the TriggerOrderExportProcessCommand class sets the output path for the process hard coded to stdout?
With this hard coded stdout, it’s not possible to change the location where the file should go into. Instead it’s always the std stream.
Did i miss something conceptual?
Basically i want to process an order if an event was triggered from the OMS state machine. The first goal is to render a file with all the order information and place it somewhere on the harddisk.
Can somebody give me a clue?