Skip to content

ENHANCEMENT: Automate trigger file creation, base dummy trigger action and trigger action base test #133

@ctcforce

Description

@ctcforce

This is not an issue, the following is a feature request.

Needing to create the actual trigger file for an object along with creating the SObject Settings MDT record for and object is something that would benefit from being automated.

By means of the metadata api(?) could the TAF automatically make a generic Trigger file for an object at the click of a button on that Object's SObject Settings MDT record's page layout, via a url field on the MDT record?

This would remove a manual setup step for enabling the TAF for new objects in the future.

It could also generate a base trigger action for that object.

Then there could be a "Test your Trigger Action" button on the SObject Settings MDT record that verifies that the apex in the dummy action's apex code was successful executed by the framework.

We're considering implementing all of these on our client projects that use TAF to increase client confidence in this technology and subsequent adoption.

Additionally, a nice quality of life feature would be a validation rule that prevents you from making any Trigger Action MDT records for an object if the TAF detects that there doesn't exist a TAF enabled Trigger file for that object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions