Any Change Condition Not working in SuiteCRM 8 Workflow

The “Any Change” condition doesn’t seem to work in SuiteCRM 8.

I’ve tried all the different combinations of running only save, only in the scheduler, all records, modified records, I’ve tried equal to “any change” I’ve tried contains “any change”

If I inline edit the field it will trigger the action. However, if I edit the entire record and save it, it does not trigger the action.

Anyone confirm, if it’s a “just me” issue or a bug?

(I do see there are some old posts about this back in 2015/2016, I can’t imagine it hasn’t been looked at since then).

I don’t know, but… Have a look here

→ SuiteCRM/modules/AOW_WorkFlow/AOW_WorkFlow.php at hotfix · salesagility/SuiteCRM · GitHub

Make sure you’re testing a “clean” case, without any logic hooks that could be saving the record, I think that might affect some of those conditions.

1 Like

Also, checking the blame view I notice there’s new (last year) code in there, so I would say this change is the prime suspect for the bug:

Try reverting that change just to see if your Workflow gets triggered…

I don’t have any hooks, but I have a few workflows in play. I’m going to test disabling the rest and see if it works if only that specific workflow is running. Now that you mention it, it could be a timing thing of when each Worflow runs.