Enable support for project-specific definitions in workflows
Description
Allow for project-specific definitions to work in workflows and remove the current limitation that supports only global definitions.
Modify the system to enable a definition to run if it is either global or project-specific with a matching project in the workflow.
Implement a notification mechanism to alert the user when there is a mismatch between the project specified in the definition and the workflow project, stating that the definition will not execute due to this discrepancy.
Accepted criteria
- 
    The system should support both global and project-specific definitions. 
- 
    Definitions should only be executed if they are global or if the project-specific definition matches the workflow project. 
- 
    Implement an alert system to notify users of any project mismatches that prevent a definition from executing.