## Script (Python) "guard_e1" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=state_change,workflow ##title= ## from iol.gisweb.utils.IolDocument import IolDocument doc = state_change.object idoc = IolDocument(doc) return idoc.wfState() == 'sicurezza'
## Script (Python) "guard_b1" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=state_change,workflow ##title= ## from iol.gisweb.utils.IolDocument import IolDocument doc = state_change.object idoc = IolDocument(doc) return idoc.wfState() == 'ubicazione'
## Script (Python) "guard_a1" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=state_change,workflow ##title= ## from iol.gisweb.utils.IolDocument import IolDocument doc = state_change.object if not doc.isDocument(): return True idoc = IolDocument(doc) return idoc.wfState() == 'richiedenti'
## Script (Python) "guard_f1" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=state_change,workflow ##title= ## from iol.gisweb.utils.IolDocument import IolDocument doc = state_change.object idoc = IolDocument(doc) return idoc.wfState() == 'oneri'
## Script (Python) "guard_d1" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=state_change,workflow ##title= ## from iol.gisweb.utils.IolDocument import IolDocument doc = state_change.object idoc = IolDocument(doc) return idoc.wfState() == 'altri_soggetti' and 'cila' in idoc.getIolApp()
## Script (Python) "guard_c1" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=state_change,workflow ##title= ## from iol.gisweb.utils.IolDocument import IolDocument doc = state_change.object idoc = IolDocument(doc) return idoc.wfState() == 'dati'
## Script (Python) "guard_d2" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=state_change,workflow ##title= ## from iol.gisweb.utils.IolDocument import IolDocument doc = state_change.object idoc = IolDocument(doc) return idoc.wfState() == 'altri_soggetti' and idoc.getIolApp() == 'scia'