Commit 25f8a69b authored by Klaus Wölfel's avatar Klaus Wölfel

refresh: also execute data analyses if reftresh state is refresh_started

parent 49ac2b9e
......@@ -23,7 +23,7 @@ portal = context.getPortalObject()
for data_analysis in portal.portal_catalog(portal_type = "Data Analysis",
simulation_state = "started"):
if not data_analysis.hasActivity():
if data_analysis.getRefreshState() == "current":
if data_analysis.getRefreshState() in ("current", "refresh_started"):
data_analysis.activate(serialization_tag=str(data_analysis.getUid()))\
.DataAnalysis_executeDataOperation()
......
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