Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
gwusermanual:interface:workflow [2022/10/04 10:40] giorgio.scali [Bottoni workflow] |
gwusermanual:interface:workflow [2022/10/04 12:41] (versione attuale) giorgio.scali [LeafItem gwStartProcessInstanceByMessageAction] |
||
---|---|---|---|
Linea 323: | Linea 323: | ||
{{:gwusermanual:11.png?800|}} | {{:gwusermanual:11.png?800|}} | ||
+ | |||
+ | ===Template configJSON=== | ||
+ | |||
+ | <code json> | ||
+ | { | ||
+ | codField: 'code_field', | ||
+ | dateField: 'date_field', | ||
+ | orderListByGwAttributes: false, | ||
+ | hideActivitiFilters: false, | ||
+ | startProcessInstanceLabel: null, | ||
+ | processEndedNotificationTitle: null, | ||
+ | processEndedNotificationMessage: null, | ||
+ | procedureOrderedTaskDefKeys: ['taskDefKey_1', 'taskDefKey_2'], | ||
+ | processEndedGwActionName: 'gw_action_name', | ||
+ | beforeStartProcessActionName: 'gw_action_name', | ||
+ | afterStartProcessActionName: 'gw_action_name', | ||
+ | beforeCompleteTaskActions: { | ||
+ | 'taskFormKey_1': 'gw_action_name', | ||
+ | 'taskFormKey_2': 'gw_action_name' | ||
+ | }, | ||
+ | afterCompleteTaskActions: { | ||
+ | 'taskFormKey_1': 'gw_action_name', | ||
+ | 'taskFormKey_2': 'gw_action_name' | ||
+ | }, | ||
+ | beforeClaimTaskActions: { | ||
+ | 'taskFormKey_1': 'gw_action_name', | ||
+ | 'taskFormKey_2': 'gw_action_name' | ||
+ | }, | ||
+ | afterClaimTaskActions: { | ||
+ | 'taskFormKey_1': 'gw_action_name', | ||
+ | 'taskFormKey_2': 'gw_action_name' | ||
+ | }, | ||
+ | allTaskForm_hideDocumentation: false, | ||
+ | allTaskForm_hideCloseButton: false, | ||
+ | allTaskForm_hideRestoreButton: false, | ||
+ | allTaskForm_hideSaveButton: false, | ||
+ | allTaskForm_completeTaskLabel: null, | ||
+ | allTaskForm_claimTaskLabel: null, | ||
+ | allTaskForm_saveTaskLabel: null, | ||
+ | allTaskForm_restoreLabel: null, | ||
+ | 'taskForm_formKey?_hideDocumentation': false, | ||
+ | 'taskForm_formKey?_hideCloseButton': false, | ||
+ | 'taskForm_formKey?_hideRestoreButton': false, | ||
+ | 'taskForm_formKey?_hideSaveButton': false, | ||
+ | 'taskForm_formKey?_completeTaskLabel': null, | ||
+ | 'taskForm_formKey?_claimTaskLabel': null, | ||
+ | 'taskForm_formKey?_saveTaskLabel': null, | ||
+ | 'taskForm_formKey?_restoreLabel': null, | ||
+ | 'taskForm_formKey?_hideReportButton': false | ||
+ | } | ||
+ | </code> | ||
Linea 729: | Linea 780: | ||
publishGwClassUpdate(gwClassName); | publishGwClassUpdate(gwClassName); | ||
</code> | </code> | ||
- | ====07 processEndedGwActionName==== | + | ====07 processEndedActionName (processEndedGwActionName)==== |
type: String | type: String | ||
Linea 1173: | Linea 1224: | ||
Esempio: | Esempio: | ||
- | <leafItem name="list_rpf" label="Richieste in Fase RPF" image="icon.png" type="gwStartProcessInstanceAction"> | + | <leafItem name="list_rpf" label="Richieste in Fase RPF" image="icon.png" type="gwStartProcessInstanceByMessageAction"> |
<parameter name="message" value="message" hideToClient="false"></parameter> | <parameter name="message" value="message" hideToClient="false"></parameter> | ||
<parameter name="processVariables " value="{var1: 'var1', var2: 2}" hideToClient="false"></parameter> | <parameter name="processVariables " value="{var1: 'var1', var2: 2}" hideToClient="false"></parameter> |