Announcement

Collapse
No announcement yet.

Order of Process Flowcharts execution

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Order of Process Flowcharts execution

    If I have several process flowcharts for one target entity type, all triggered by the same trigger, what would be the order of their execution?

  • #2
    Hi Oleksii,
    All your flowcharts will be started simultaneously. If you need to make some sequence you can try to utilize the bpm\startProcess('flowchart-id', 'Account', 'account-id'); function in the Script Task https://docs.espocrm.com/administrat...pmstartprocess.

    Comment


    • #3
      Thank you, Maximus.
      The problem is that if one process changes the field and another reads it, then the fixed order does matter.
      Yes, I've managed to run processes in desired sequence as Call Activity tasks, but it dramatically decreases convenience of debugging, because flow is not shown for the called processes.

      Comment


      • #4
        > because flow is not shown for the called processes.

        Could you describe it more explicitly? Does that mean that for the called process don't creating corresponded process in the Process entity?

        Comment


        • #5
          Originally posted by Maximus View Post
          > because flow is not shown for the called processes.

          Could you describe it more explicitly? Does that mean that for the called process don't creating corresponded process in the Process entity?
          Exactly. Only the main starting process is shown.

          Comment


          • #6
            I will check it.

            Comment

            Working...
            X