2

I'm working on a Task record-triggered flow and I need to evaluate the WhatId to see what the object type is. As I see it's not directly available. I'm wondering if what the best solution would be. I know if could leverage the prefix, but not sure if there is an easier way. Right now the object has not yet been deployed, so the prefixes are different among Sandboxes.

3
  • Have you tried pulling What.Type? It works in SOQL but not sure about flow.
    – Adrian Larson
    Feb 4, 2021 at 20:45
  • I tried that, but with no luck. The only thing I can think of is creating an Apex Action and call from the Flow.
    – Andrew L.
    Feb 4, 2021 at 20:51
  • Not a bad way to go.
    – Adrian Larson
    Feb 4, 2021 at 21:11

0

Your Answer

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

Browse other questions tagged or ask your own question.