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

LEAF-3190 prevent built in workflow modification #2266

Merged

Conversation

aerinkayne
Copy link
Contributor

Adds an update to prevent users from creating a Requestor --> End connection on build in workflows. This correction is necessary because it creates an unavoidable help desk ticket as the user cannot undo this change.

Also prevents duplication of built in workflows and provides more obvious feedback about modifications to built-in workflow being restricted.

Impact / Testing

Workflow Editor
-It should no longer be possible to modify the initial requestor --> step connection on built in workflows.
-Confirm that custom workflows still behave as expected.

LEAF_Request_Portal/admin/templates/mod_workflow.tpl Outdated Show resolved Hide resolved
};
let seriesData = {
AutomatedEmailReminders: {
'Automate Email Group': auto.AutomatedEmailReminders.AutomateEmailGroup,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to think about having "default" values for these? Or are we sure there will always be values and these assignments will never fail to a null?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part was also unchanged. I think it should be ok though - if stepData isn't null, the field should have these. The only one that was in question (because emails by date was added later) was Date Selected, which already has a default value. If additional kinds of stepData are added in the future I agree we should re-visit this, but I also don't want to mess with email reminder default values without looking at the related functionality in more detail.

LEAF_Request_Portal/admin/templates/mod_workflow.tpl Outdated Show resolved Hide resolved
@Pelentan Pelentan changed the base branch from master to rc/2024-01-16/Sprint-66-c1 January 16, 2024 20:01
@Pelentan Pelentan marked this pull request as ready for review January 16, 2024 20:01
@Pelentan Pelentan merged commit 7385ed9 into rc/2024-01-16/Sprint-66-c1 Jan 16, 2024
6 of 8 checks passed
@aerinkayne aerinkayne deleted the issue/LEAF-3190/prevent_builtin_wf_changes branch August 6, 2024 15:11
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

Successfully merging this pull request may close these issues.

4 participants