What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello, Regarding the OMS check-condition command, demo shop is running it for each store. Does it me

U011K6DASBW
U011K6DASBW Posts: 37 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

Hello,
Regarding the OMS check-condition command, demo shop is running it for each store. Does it mean that an OMS command plugin is required to filter the orders for current store context only during the execution?

Comments

  • Hey Hardik! I donโ€™t think so.
    If OMS check-condition command runs for a specific store then it put only store-related order items into CommandPlugin. So CommandPlugin will process only your store-related order items.

  • UKGT7RC7P
    UKGT7RC7P Posts: 538 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
    edited July 2020

    we have/had a situation where we were running ~15 OMS check condition commands (one for each store) and OMS commands were being executed 15 times (one for each store)

  • UKGT7RC7P
    UKGT7RC7P Posts: 538 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    so we reduced it to running only a single check-condition command now

  • UKEP86J66
    UKEP86J66 Posts: 208 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    @UR1QYK8MC is the filter only for command plugs, and not for condition plugins (or other parts of the OMS)?

  • It works for condition plugins in the same way

  • UKEP86J66
    UKEP86J66 Posts: 208 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Ok thanks, we have to figure out why a single order was getting used on all stores