BPM Process runs despiate being marked as inactve

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrisgood
    Junior Member
    • May 2022
    • 14

    #1

    BPM Process runs despiate being marked as inactve

    EspoCRM Version: 9.1.9
    Advanced Pack: 3.11.7
    Sales Pack: 3.1.6

    Steps to Reproduce (please see screenshots for my reproduction - I've used Lead and Opportunity):
    - Create a flowchart with a single start event + any further functioning tasks + an end event (Flowchart A)
    - Create a sequential workflow with the 'Start BPM Process' Action based on a related entity to the entity used in the flowchart, and configure it to point at the newly created flowchart (Workflow A)
    - Create a workflow that performs a task on the related entity, then triggers Workflow A (Workflow B)

    Cause workflow B to trigger and/or run it manually. You should observe that workflow B triggers workflow A, which in turn triggers Flowchart A. Make sure that the example steps chosen work to prevent false positives occurring in the error log.

    Now, deactivate Flowchart A and save.

    Expected behaviour: Flowchart A should not run because it is inactive (active checkbox is unchecked)
    Observed behaviour: Flowchart A runs as normal despite being marked as inactive

    No errors are created in the log, because the workflows and flowchart run normally.


  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9491

    #2
    "A flowchart that is set as Inactive can still be trigerred by a workflow rule."

    Is my description of the problem correct?
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • chrisgood
      chrisgood commented
      Editing a comment
      Thank you for your reply. Yes, that is correct. I don't know whether the preceding workflow type makes a difference to the observed outcome.
Working...