Workflow module - Create Action bug with custom date #3272
Labels
Priority:Moderate
Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds
Status:Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Type:Bug
Bugs within the core SuiteCRM codebase
Issue
When a task is created from another task the start date of the new task should be based on the other tasks custom datetime however it seems to be picking up the current date.
Expected Behavior
We can set start date as custom date "Next Date(datetime)", create new task start date = next date.
Solutions: Problem with code has fetched_row value get but When we create new record at that time fetched_row blank value that's why issue. So we need to latest value get using obj->field_name at CreatedRecord action.
Actual Behavior
create new task start date = current date time
Possible Fix
modules/AOW_Actions/actions/actionCreateRecord.php
line no: 216
#$date = $bean->fetched_row[$params['value'][$key][0]];
$date = $bean->$params['value'][$key][0];
The text was updated successfully, but these errors were encountered: