0

I am just trying to develop a simple logic with Flow. And while I am using the Flow Decision logic its not working. I just need some expert advise on this.

I am calling the same flow logic from Process Builder in below 2 cases

  1. On Account Object - While Creating a New Account - Called Flow to create a Case and attach
  2. On Case Object - While Closing the Case - Called Flow to close the case that is attached to the Account.

In the Flow I was trying to distinguish to the above to Process Builder calls to Flow using the Flow Decision Logic in a IF ELSE logic and my doubt is that Am I using it wrong?. Because the logic works correct in separate without Decision Logic.

Process Builder Process Builder

Flow Decision Logic Flow Decision Logic

Flow Flow

Basically my problem is that my "Default Outcome Or ELSE logic for Case in Flow Decisions" not getting called from Process Builder when I close a Case, but Account getting called from Process Builder when I Create an Account.

Can someone help me to understand whether I can use Flow Decision Logic like If-Else to identify its getting called from Process Builder (If - from Account Creation & Else - from Case Closure)? And am I using it in wrong way?

  • 1
    Did you type in Null? You can scroll down on the options for your decisions and can find global and other options like empty string that can be selected. Also, it may be worth trying to create a formula in your flow that is a boolean, based on the same if logic, and then use the result of the formula in your decision, as some times this works where other things do not. – Logan Jun 23 '17 at 13:21
  • @Logan, thanks for your reply. I have created a Boolean formula variable in Flow and while calling from Process Builder I passed True for Account & False for Case. This is checked in my Flow Decision Logic and it worked – Robert Thomas Jun 23 '17 at 13:49
  • 1
    So, it was the answer to your problem? Should I add it as an answer for you to accept? – Logan Jun 23 '17 at 13:59
  • Yes.. It solved my issue. – Robert Thomas Jun 23 '17 at 14:00
1

Did you type in Null? You can scroll down on the options for your decisions and can find global and other options like empty string that can be selected. Also, it may be worth trying to create a formula in your flow that is a boolean, based on the same if logic, and then use the result of the formula in your decision, as some times this works where other things do not.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.