Display connect Estimated Delivery Date

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2023 03:15 PM
I have multiple request items using the same workflow. Each one has a different delivery date. How can I show the correct estimated delivery date on the portal without having to create workflow for each different time frame?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2023 08:53 AM - edited ‎01-30-2023 08:57 AM
Hi,
In the workflow, if you go to the properties, you can remove the timeframe which is what is used to display there. So if there is no workflow attached at all, I believe it may use the delivery time on the catalog item. If you do have a workflow attached, that time gets updated to what the workflow has. Since you don't want this particular workflow properties setting to drive the delivery date, you can remove it and nothing will show there in your screenshot for delivery time (it'll just show quantity and then add to cart/order now). Then...the script I mentioned above, will calculate the respective date and the user will see it on their order summary.
As far as what I proposed above applying to the screenshot you just shared...you didn't specifically mention that it was on the catalog item order form before they even submit it...so I was assuming you meant the delivery date/estimated delivery date...which is shown on the order summary page after they place the order. A screenshot like what you shared now would have helped us in the beginning.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2023 10:06 AM
Ok that seems to work. What would I have to update in the script to set the due date base on our schedule? Working with time and schedules is one of my week spots when it comes to scripting.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2023 09:22 AM
Hi,
You can use this thread here and Sachin's reply with a script to check the date and see if it's in schedule. If it's not, then you can use addDays(1) and check it again. Repeat as needed until it is in schedule and then go with that date.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2023 09:52 AM
Was there supposed to be an link to another thread?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2023 03:06 AM
Hello, Brian.
Have you included a timeframe in the workflow for the various activities unlocked dowanload that add up to give the estimated delivery date? When you say each one has a different delivery date, do you mean they were all ordered at the same time and you're expecting them all to arrive on the same day?
If applicable, please mark your response as Helpful. Thanks!