SuiteCRM icon indicating copy to clipboard operation
SuiteCRM copied to clipboard

Fix #9715 - Email address field isn't available in Calculate Fields Workflow action

Open SinergiaCRM opened this issue 2 years ago • 0 comments

  • Closes #9715

Description

In this PR we add a condition when calculating the relationships that will be displayed in the Action. With this condition, the email_addresses relationship won't be filtered, and therefore treated as any other relationship.

Motivation and Context

With this change, the Email address value can be used in a "Calculate Fields" Workflow action.

How To Test This

  1. Create a WF record based in Contacts
  2. Add an action of type Calculate Fields
  3. Check that the Email Address is available in the relationship list: Selection_623

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • [x] My code follows the code style of this project found here.
  • [ ] My change requires a change to the documentation.
  • [x] I have read the How to Contribute guidelines.

SinergiaCRM avatar Aug 01 '22 15:08 SinergiaCRM