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

Remove need to edit trigger when creating new workflow #4

Open
martyychang opened this issue Oct 5, 2017 · 1 comment
Open

Remove need to edit trigger when creating new workflow #4

martyychang opened this issue Oct 5, 2017 · 1 comment
Assignees

Comments

@martyychang
Copy link
Owner

Right now, when creating a new trigger workflow, the developer has to do the following.

  1. Create the workflow class
  2. Edit the appropriate trigger
  3. Create the custom metadata record

However, since the Type class supports a Type.forName(String) method which can be used to dynamically construct a Type object which can then be used to get an instance of that type, it would be great if the developer can simply do the following.

  1. Create the workflow class
  2. Create the custom metadata record

The trigger should simply need to be created once, with custom metadata determining whether a workflow is executed and in what order.

@martyychang
Copy link
Owner Author

As part of #11 it was trivial to add an additional ORDER BY clause to the query used to return active workflows for a given object. If the change passes deployment and testing in a sandbox, this issue will also be resolved as a byproduct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant