3

The UI API provides a nice getPicklistValuesByRecordType resource but it doesn't support the Task object.

I've looked everywhere, but I cannot find an alternative solution. Does anyone have any ideas on how I can get around this for the Task object?

I have a flow that will be built for multiple groups, but will include one field from the Task object where I need to tailor the selections based on the values for the specific RecordTypes. A picklist choice set won't work because I cannot enforce RecordTypes their either.

Thanks!

1
  • 1
    It looks like the Tooling API works (/tooling/sobjects/RecordType/......), however doesn't give you any Custom Field Picklists back in the response. Any suggestions? – Jay Jan 3 '20 at 22:15
1

Thank you for your interest in accessing the Task object from UI API.

My name is Jonathan Au. I'm the PM for UI API. I'd like to let you know that this object is on our radar, but due to some complications related to the internal implementation of Task, enabling this object for UI API is not a straightforward process.

At this time, we do not have a timeframe for enablement, but we'll be sure to circle back once we have clarity.

2
  • Thanks Jonathan - This functionality will be huge for us. In the meantime, I have to store values in a Custom Metadata Type and use those to populate my LWC selections. I'll have to instruct my admin team to add a new picklist value in two spots for now. – Jay Jan 24 '20 at 16:59
  • is support for Task any closer? – Jay Nov 11 '20 at 16:13

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.