We have a number of picklists that are subsetted via task record types. I can pull these record type via a simple SOQL query:
SELECT Name, DeveloperName FROM RecordType WHERE SobjectType = 'Task'
To make this useful, via API how can I:
- Tell which record type has which values?
Identify the task record type for a user? I think this can be done via Page Layouts but it's not clear how
Set the record type when creating a task? I think this is not needed as the layout handles the assignment