Skip to content

Commit

Permalink
Pull request #366: CTCTOWALTZ-3147
Browse files Browse the repository at this point in the history
Merge in WALTZ/waltz from WALTZ/waltz-ks:CTCTOWALTZ-3147-Survey-Reopen to db-feature/waltz-7012-survey-reopen

* commit '7ee38b26df9a4e442303c4e71228903f9bae1e13':
  CTCTOWALTZ-3147
  • Loading branch information
kamran-b-saleem-db authored and db-waltz committed Apr 15, 2024
2 parents 293dda5 + 7ee38b2 commit a85f39d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class SurveyInstanceStateMachineFactory {
simpleTransitions.add(COMPLETED, SurveyInstanceStateTransition.transition(APPROVING, APPROVED, isAdminOrOwner));
simpleTransitions.add(COMPLETED, SurveyInstanceStateTransition.transition(REJECTING, REJECTED, isAdminOrOwner));

simpleTransitions.add(APPROVED, SurveyInstanceStateTransition.transition(REOPENING, IN_PROGRESS, isAdminOrOwnerOrParticipant));
simpleTransitions.add(APPROVED, SurveyInstanceStateTransition.transition(REOPENING, IN_PROGRESS, isAdminOrOwner));

simpleTransitions.add(REJECTED, SurveyInstanceStateTransition.transition(WITHDRAWING, WITHDRAWN, isAdminOrOwner));
simpleTransitions.add(REJECTED, SurveyInstanceStateTransition.transition(REOPENING, IN_PROGRESS, isAdminOrOwnerOrParticipant));
Expand Down

0 comments on commit a85f39d

Please sign in to comment.