Skip to content

TransitionToState is missing in V3 #255

Open
@dcasbonne

Description

@dcasbonne

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions