PeteRudge Posted November 3, 2022 Share Posted November 3, 2022 We have a product called "custom order request" with the tag "custom request". We would like to be notified when a custom includes this item in one of their bids. I have tried to create a trigger using "when order status changes to bid" and product tags "custom request" but the trigger does not fire when a bid is created with the custom request product. Any ideas? Quote Link to comment Share on other sites More sharing options...
Gavin Flitton Posted November 3, 2022 Share Posted November 3, 2022 @PeteRudge Hey Pete! This trigger looks like a great idea and seems to be set up correctly. You have tested it and it is not functioning correctly? Quote Link to comment Share on other sites More sharing options...
PeteRudge Posted November 3, 2022 Author Share Posted November 3, 2022 @Gavin Flitton I have tested it by creating a new bid and adding the custom order request. I saved the bid. The trigger did not fire. No email was sent. Quote Link to comment Share on other sites More sharing options...
Ashley Posted November 3, 2022 Share Posted November 3, 2022 What product are you using to test this with @PeteRudge? Quote Link to comment Share on other sites More sharing options...
Ashley Posted November 3, 2022 Share Posted November 3, 2022 Oh wait, never mind I see it! Looking into this... Quote Link to comment Share on other sites More sharing options...
PeteRudge Posted November 7, 2022 Author Share Posted November 7, 2022 @Ashley have you had any luck with this? Quote Link to comment Share on other sites More sharing options...
Solution Ashley Posted November 7, 2022 Solution Share Posted November 7, 2022 @PeteRudgeI had no luck last week and still needed to try recreate this for the developers, it was working fine in my test instances... so I just tried again in your instance with this order https://bwmodern.allmoxy.com/orders/quote/702/ and the trigger immediately fired and seems to be working. Do you want to test it again for yourself and see if you have any issues? Quote Link to comment Share on other sites More sharing options...
PeteRudge Posted November 7, 2022 Author Share Posted November 7, 2022 I just did a test bid and the trigger fired. Looks to be working as expected. Thank You!! Quote Link to comment Share on other sites More sharing options...
Ashley Posted November 7, 2022 Share Posted November 7, 2022 Ah great! Fingers crossed it stays that way, I was never able to identify why it didn't work last week! Quote Link to comment Share on other sites More sharing options...
PeteRudge Posted November 15, 2022 Author Share Posted November 15, 2022 @Ashley I am seeing this problem again today. The trigger is not firing for order 705. The customer added the "custom order request" to the bid and saved it. No email was sent. I need the trigger to fire when the bid is saved not when the status is changed to bid. Is this the limitation? Quote Link to comment Share on other sites More sharing options...
Ashley Posted November 16, 2022 Share Posted November 16, 2022 No, it SHOULD be firing immediately upon saving the bid as long as that custom product is on there. Let me show this to the dev team and get back to you. Quote Link to comment Share on other sites More sharing options...
Ashley Posted November 16, 2022 Share Posted November 16, 2022 Okay @PeteRudgeI apologize, this is probably exactly what you were trying to clarify and I didn't quite understand when I responded before: the trigger will only fire upon status *change* while the product is on the bid/order. So it's not going to fire if you're already saved it in bid status and THEN add the product and save again. For some reason I thought you had the product on there before saving as bid the first time. Part of the reason for that is that people make A LOT of changes to bids, and sometimes even make a lot of changes in ordered status as well, and they would not want a bunch of triggers repeatedly firing just because they make one small edit and saved in that same status again. So they only fire then the status is changed to whatever you've set. So I think you're going to either want to change that trigger to fire upon *ordered* status - so that you can add the custom product in bid status and THEN move it to ordered status. Then it will fire at that point. Or make sure the custom product is on there upon the initial save to bid status. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.