Commit 84028118 authored by Xiaowu Zhang's avatar Xiaowu Zhang

ConfiguratorTool: go to initial state if it's end

parent 242e91f6
...@@ -154,7 +154,10 @@ class ConfiguratorTool(BaseTool): ...@@ -154,7 +154,10 @@ class ConfiguratorTool(BaseTool):
## client can not go further hist business configuration is already built ## client can not go further hist business configuration is already built
if business_configuration.isEndConfigurationState() or \ if business_configuration.isEndConfigurationState() or \
business_configuration.getNextTransition() == None: business_configuration.getNextTransition() == None:
return self._terminateConfigurationProcess(response) workflow = business_configuration.getResourceValue()
business_configuration.setCurrentState(workflow.getSource())
need_validation = 0
#return self._terminateConfigurationProcess(response)
isMultiEntryTransition = business_configuration._isMultiEntryTransition() isMultiEntryTransition = business_configuration._isMultiEntryTransition()
## validate multiple forms ## validate multiple forms
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment