1

Simple use case

  1. Create an SObject (Case) using the UI + Save button
  2. Start a Process on Create that invokes an auto-launched flow
  3. Auto-launched flow creates n (12) Tasks using Fast Create, assigned to an active userId

Run in Classic - works fine, all tasks created

Run in LEX, Case is created but the flow gacks

1 Answer 1

1

Posting answer as this required a support case to resolve

SFDC Level 2 Support looked up the gack (without me even having to prompt them ) and the problem is a Known Issue

Flow Error, INVALID_TYPE: sObject type 'NotifDeliveryUserPref' is not supported

There is only one workaround:

Settings | Customize | Activities | Activity Settings

then uncheck the box for Enable user control over task assignment notifications

This feature was rolled out in Winter 15 and the release notes for it are here.

Side note (at least as of this writing - October 16), the Known Issue can't be found by searching the Known Issues site.

2
  • Can't be found via search. That's fun.
    – Adrian Larson
    Oct 25, 2016 at 0:40
  • 1
    @AdrianLarson - I used to be arrogant enough that I would assert that one doesn't need Premier Support as all problems in SFDC are self-curable with enough research and experimentation. I have lost all such arrogance as the platform has become very complex and issues like the above took me all of 5 seconds to decide to file a support case.
    – cropredy
    Oct 25, 2016 at 0:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .