BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Email Order Status after X Amount of Days Unchanged
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
I'm looking to create a workflow that will send out an email when a order status has not been updateed for X amount of days. This would be a great solution to keep track of orders that are on backorder etc to remind customer service to look at the order for updates and notify the csutoemr accordingly.
Anyone have any clue and how to create a workflow like this?
|
|
|
|
Rank: Member
Joined: 4/10/2009(UTC) Posts: 120 Location: Mechanicsville, VA
Thanks: 3 times Was thanked: 1 time(s) in 1 post(s)
|
Order status changing doesn't have a timestamp, does it? |
Tim
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
I dunno. I would imagine it would. I will have to place a test order, update it and then check the database unless someone knows...
It would be nice for survey emails to go out as well. ie. 10 days after an order ships, an email (using a new template) is sent out to touch base with the customer, provide a survey link etc. Great for getting repeat business, as well as reminding my own customer service that an order needs attention if its left un-touch for X amount of days. :)
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Sounds cool, guys. Build it! :) |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 11/25/2003(UTC) Posts: 370
|
There is a LastUpdated column in the bvc_Order table. When you edit an order and save it the date changes. Under what conditions are you looking for this date to change?
If I change the Order Status LastUpdated is changed as well. |
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
From what I was thinking, two conditions:
Condition 1) If the LastUpdated has not changed within X amount of days, have a workflow to send out an email template. (good for reminding customer service to look at the order)
Condition 2) If the LastUpdated has not changed within X amount of days, and the Order Status has been completed, have a workflow to send out an email template. (good for checking up on the order, sending out survery links, getting repeat business)
Bryan
|
|
|
|
Rank: Member
Joined: 11/25/2003(UTC) Posts: 370
|
Where would you put this workflow task? When would it run?
Sounds like it would have the potential of slowing things down a little on a live website. Unless you ran it in another thread. I run task similar to this but generally approach it using a scheduled task on the server. You would need to be using a dedi server though to use this method. I do because some of them take an extended time to complete.
All seems to be in place for what you need. Just need to write the code. |
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
Well i think the email to my customer service can be scheduled on the server. The email template is basic, and only needs a link to the order. But im not sure about the email to each customer after X amount of days an order has been marked complete... as well as creating customer email templates for that task. Templates could change weekly depending on volume.
Im hosted with Noah on his level one dedi...
|
|
|
|
Rank: Member
Joined: 4/10/2009(UTC) Posts: 120 Location: Mechanicsville, VA
Thanks: 3 times Was thanked: 1 time(s) in 1 post(s)
|
Performance wise, it would be nice to see a batch run on this during off hours. The concept is sound though. I didn't realize that LastUpdated would increment based on just a status change, but that's cool. You would have two different dates to work from. You could have the stagnate timeout, based on lastupdated in the DB, but you could also utilitize the timestamp for date shipped to run a follow-up routine.
One little drawback... the lastupdated field controls the whole order, not just the order status. For example, an order may not have had an updated for 2 weeks, but someone has put notes on the order yesterday. This may cause logic confusion somewhere down the line.
We are working on a similar workflow idea for just the followup after shipping. Although, because of the mass amount of emails we expect, we are generating a report of email address and info to be used with something like ConstantContact or CampaignMonitor. |
Tim
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
^ Sounds interesting. I would like to know more info as it becomes available.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.