Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow condition "Any Change" doesn't work on integer fields #370

Open
BastianHammer opened this issue Oct 21, 2023 · 0 comments
Open
Labels
Area: Workflow Issues & PRs related to all things regarding workflow Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds Type: Bug Something isn't working

Comments

@BastianHammer
Copy link

When building a workflow, that is checking for "Any Change" of an Integer field, it seems to be always true.
Even though there is no change or no value inside the integer field.

Building the same workflow logic on a text field or decimal field, things work as expected.

Issue

suitecrm_any_change_int

Expected Behavior

If there is no change / no value inside the integer field, the condition should validate false and the workflow should not be triggered.

Actual Behavior

No change, still validates as true and the workflow is being triggered.

Possible Fix

Steps to Reproduce

  1. Add an integer field
  2. Add a workflow that triggers on change
  3. Change (or just edit and save a record without any changes)

Context

Your Environment

  • SuiteCRM Version used: 8.4.0
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Chromium / Firefox
  • Environment name and version (e.g. MySQL, PHP 7): MySQL, PHP 8.1
  • Operating System and version (e.g Ubuntu 16.04): Ubuntu 23.04
@johnM2401 johnM2401 added Type: Bug Something isn't working Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds Area: Workflow Issues & PRs related to all things regarding workflow labels Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Workflow Issues & PRs related to all things regarding workflow Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants