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

TransitionToState is missing in V3 #255

Open
dcasbonne opened this issue Feb 17, 2022 · 0 comments
Open

TransitionToState is missing in V3 #255

dcasbonne opened this issue Feb 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dcasbonne
Copy link

dcasbonne commented Feb 17, 2022

Feature Request

I'm writing a simple rule that update Parent status. Let's say I'm on a task update and it has been set to Active.
At this moment, its parent (a User Story / Requirement) should be set to Active.
However we have some transition rules : Proposed / Approved / Active / Resolved and we have to pass by each state.
If my parent is in Approved state it's easy to set it to Active. But if it's in Proposed state I couldn't set to Active because this state is not in the list.

Describe the solution you would like
In V2 you had a TransitionToState(...) method that allow us to change state without considering a "path" to follow and by adding a comment too. I'm missing this method !

Describe alternatives you have considered
I've found in issue #208 that I can call SaveChanges on the store but it's not easy to use (need several parameters that I can't access in my rule)
EDIT : this solution doesn't work, it fails with this message :
Test Operation for path /rev failed, value 14 was not equal to test value 13."}​}

Additional context
Add any other context or screenshots about the feature request here.

@dcasbonne dcasbonne added the enhancement New feature or request label Feb 17, 2022
@giuliov giuliov mentioned this issue May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant