Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.5.5, 2.6.2
-
None
Description
Current Situation
The OrderStateTransitionJob accepts these arguments for orders and transitions.
- state_transition_source
- state_transition_target
- Values: CANCELLED, INPROGRESS
The state_tranisition_source can be a comma seperated list of states. When using a comma seperated list it may happen that illegal transactions are performed e.g. when finding prompting and pending orders and the transition is INPROGRESS.
Desired Behavior
The name for the argument to specify the orders to be handled should be "state"
The name for the argument to specify the transition to be performed should be "transition"
The possible values for transition should be
Cancel, Continue, Suspend
- Continue should handle only order that are failed, suspended or prompting.
- Suspend should handle only orders that are not failed and not finished
- A comma separated list of order states should be handled correctly
The changes should be compatible with older configurations.