Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Feature Request: Custom Task Fields For Action Plan / Action Plan Templates #49

Open
ebradley54 opened this issue Jul 28, 2022 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ebradley54
Copy link

Is your feature request related to a problem? Please describe.
This is not a problem/issue/bug, just a missing feature.

Describe the solution you'd like
When creating a new Action Plan or Action Plan Template, we would like to include custom fields in the Task definition. While we discourage the use of process-specific custom fields in order to avoid the relatively low limits for Activities, we do have a need for some custom dependent picklists that we use across record types. One possible solution could be to leverage custom metadata types to maintain a list of field API names that are displayed dynamically in your VF page override. Specifying column order, record type, and inclusion of dependent picklists would be ideal (i.e. picklist value dependencies based on record type and controlling picklists should be accurately reflected).

Describe alternatives you've considered
Combining values into the standard Type field is an option for some of the data, but our users prefer picklist dependencies over longer value lists, and we try to avoid additional record types when we can. We also will not put data into the Type field that does not belong there, so it will not solve all of our use cases. As a custom alternative, we could supplement the existing functionality by creating new custom fields on APTemplateTask to house the custom field values and update the new Tasks accordingly whenever it is related to an APTask. This would not be an ideal user experience though because it is a disjointed process to generate the data instead of doing it all from the Template creation page.

Additional context
Add any other context or screenshots about the feature request here.

@ebradley54 ebradley54 added the enhancement New feature or request label Jul 28, 2022
@dschach
Copy link
Contributor

dschach commented Sep 3, 2022

This is a good request, and one day I want to make the page far more flexible - and even use standard page layouts with lightning components embedded. The page has quite a few describe calls so it pulls from the Task available picklist values. I will keep this open, but for now, it may be best for you to build your own before save flow that can use the Lookup on Task to pre-fill fields based on various values, such as looking up the tree from Task to APTask to APTemplateTask. Then you can fill your own custom fields on that object through list views, probably, and have those referenced to your Tasks.

I like the idea of displaying specific fields and values on the AP Task List section; I don't know how to make that scale at this time. Let's keep this open and see where this goes once I transition to LWC from VF.

@dschach dschach added the good first issue Good for newcomers label Sep 3, 2022
@ebradley54
Copy link
Author

ebradley54 commented Sep 11, 2022 via email

@dschach
Copy link
Contributor

dschach commented Mar 9, 2023

I'd love to see what you've done - if you'd like to submit a PR, I can cherry-pick that into the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants