Skip to main content
deleted 620 characters in body
Source Link
Diksha Poddar
  • 424
  • 1
  • 4
  • 12

Looking at the screenshot , when two fields are updating to 'Yes' in one go , both the conditions are resulting to true at the same time and the update action used after Send email action might conflicts due to which , when flow is running again after first email and before the second email , it is sending another email.

Try to use Switch condition instead of simple Condition you have used , where you write thirdUse below condition first in addition to above 2 conditions.

The condition will be -

Mail to be sent to Maths == 'Yes' and Mail to be sent to Science == 'Yes' and IsmailsentMaths == 'No' and IsmailsentSci == 'No'

By this, the flow will perform action for this third condition only and will not go to the two individual conditions for Maths and Science at the same time.

Refer this for how to use Switch inImplement Flow. as shown below - enter image description here

Looking at the screenshot , when two fields are updating to 'Yes' in one go , both the conditions are resulting to true at the same time and the update action used after Send email action might conflicts due to which , when flow is running again after first email and before the second email , it is sending another email.

Try to use Switch condition instead of simple Condition you have used , where you write third condition in addition to above 2 conditions.

The condition will be -

Mail to be sent to Maths == 'Yes' and Mail to be sent to Science == 'Yes' and IsmailsentMaths == 'No' and IsmailsentSci == 'No'

By this, the flow will perform action for this third condition only and will not go to the two individual conditions for Maths and Science at the same time.

Refer this for how to use Switch in Flow.

Use below condition first in addition to above 2 conditions -

Mail to be sent to Maths == 'Yes' and Mail to be sent to Science == 'Yes' and IsmailsentMaths == 'No' and IsmailsentSci == 'No'

Implement Flow as shown below - enter image description here

Source Link
Diksha Poddar
  • 424
  • 1
  • 4
  • 12

Looking at the screenshot , when two fields are updating to 'Yes' in one go , both the conditions are resulting to true at the same time and the update action used after Send email action might conflicts due to which , when flow is running again after first email and before the second email , it is sending another email.

Try to use Switch condition instead of simple Condition you have used , where you write third condition in addition to above 2 conditions.

The condition will be -

Mail to be sent to Maths == 'Yes' and Mail to be sent to Science == 'Yes' and IsmailsentMaths == 'No' and IsmailsentSci == 'No'

By this, the flow will perform action for this third condition only and will not go to the two individual conditions for Maths and Science at the same time.

Refer this for how to use Switch in Flow.