Announcement

Collapse
No announcement yet.

BPMN: Conditional with trigger type => After record save

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

  • BPMN: Conditional with trigger type => After record save

    Hi all,

    This is just to share with you something i discover about how the bpmn works.

    When using a conditional start event with Trigger Type => After record save if you want to check in the next gateway if the entity is new Or if entity is Not new, the flow will always go to !entity\isNew() no matter what the conditions are and the reason why is that It's how it works / designed. Once the first node is processed, the entity already is not new. So instead you can use two separate entries as shown in the attached image.

    Hope this helps someone and thanks to Yuri who explained how it works.

    Cheerio
    Attached Files

  • #2
    Thanks for the tip Rabii.

    Comment


    • #3
      Hi,

      entity\isNew() can be used in Before Safe Scripts. In BPM the Entity must already exist that the workflow can be triggered. If the entity would not exist, the workflow would not know to trigger on what data.

      Comment

      Working...
      X