Skip to main content

Hello,

 

I have a flow with several decisions and assignments. It can happens that the flow won't have to update the flow as decisions are leading to no assignments. At the end of my flow, i have an "Update Record" actions. It's creating some errors when no actions is needed. How can I bypass this option is there is no assignment to the record ? Thank you

 

#Flow #Assignment Rules

답변 8개
  1. 2023년 12월 5일 오전 1:48

    OK @Sylvain Piguillem, looking closer I see this is a scheduled Flow so this is only processing 1 record at a time and you're performing no Get Records so we can forget about collections. Now I can read the Flow I see the Assignments and essentially if one is not used then you don't need the update to execute.

     

    To test for this you can setup a Decision element before the Update per this screenshot to check all of your Assignment elements using an OR function so that if any 1 is TRUE you will process the update otherwise the Flow will End via the default branch.

    OK , looking closer I see this is a scheduled Flow so this is only processing 1 record at a time and you're performing no Get Records so we can forget about collections.

0/9000