是否有可能根据某一条件冻结给定对象的状态变化?
我所拥有的:
我需要的是:
你能为这个案子提出一个解决方案吗?
发布于 2017-04-18 12:14:48
解决方案是使用一个过渡保护:https://docs.plone.org/4/en/old-reference-manuals/archgenxml/basic-features/workflows.html?highlight=guard#transition-guards
我用了一个表达式python:here.is_allowed_state_change() is True。
如果会议未结束,我将is_allowed_state_change定义为返回True。
https://stackoverflow.com/questions/43468934
复制相似问题