Workflow's "Date + x Business Hours" parameter does not reflect CRM-set Business Hours #5316

Open
opened 2026-02-20 16:59:32 -05:00 by deekerman · 1 comment
Owner

Originally created by @johnM2401 on GitHub (Mar 28, 2025).

Issue

When running a Workflow that uses the "Date + x Business Hours" parameter, this appears to use real-time hours and not the set Business hours in the CRM.

See gif

Image

I have a Workflow to add 24 Business hours

Today is Friday 28th, So this should cause my date field to give me Wednesday 2nd April.
(Skipped Weekends + 3 Business days of 8hours each)

However, It causes my date field to give Today+24Hours, which is Saturday 29th.

Possible Fix

No response

Steps to Reproduce the Issue

1. Create a Workflow that uses a Date + [x] Business Hours parameter in the actions
2. Set your Business hours in Admin->Business Hours
3. Run the Workflow
4. See that the result is a calculation based on Real Hours
...

Context

No response

Version

7.14.6

What browser are you currently using?

Firefox

Browser Version

Firefox 136.0.1

Environment Information

MariaDB 10.4.12, PHP8.2

Operating System and Version

Ubuntu 22.

Originally created by @johnM2401 on GitHub (Mar 28, 2025). ### Issue When running a Workflow that uses the "Date + x Business Hours" parameter, this appears to use real-time hours and not the set Business hours in the CRM. See gif ![Image](https://github.com/user-attachments/assets/50e51b1e-72ad-486b-a672-fac216014b61) I have a Workflow to add 24 Business hours Today is Friday 28th, So this should cause my date field to give me Wednesday 2nd April. (Skipped Weekends + 3 Business days of 8hours each) However, It causes my date field to give Today+24Hours, which is Saturday 29th. ### Possible Fix _No response_ ### Steps to Reproduce the Issue ```bash 1. Create a Workflow that uses a Date + [x] Business Hours parameter in the actions 2. Set your Business hours in Admin->Business Hours 3. Run the Workflow 4. See that the result is a calculation based on Real Hours ... ``` ### Context _No response_ ### Version 7.14.6 ### What browser are you currently using? Firefox ### Browser Version Firefox 136.0.1 ### Environment Information MariaDB 10.4.12, PHP8.2 ### Operating System and Version Ubuntu 22.
Author
Owner

@SuiteBot commented on GitHub (Apr 28, 2025):

This issue has been mentioned on SuiteCRM. There might be relevant details there:

https://community.suitecrm.com/t/posible-error-en-workflow-y-invoice/99232/2

@SuiteBot commented on GitHub (Apr 28, 2025): This issue has been mentioned on **SuiteCRM**. There might be relevant details there: https://community.suitecrm.com/t/posible-error-en-workflow-y-invoice/99232/2
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#5316
No description provided.