User Tools

Site Tools


Plugin installed incorrectly. Rename plugin directory 'swiftmail.backup' to 'swiftmail'.
en:software:tim:instance_context_use_instance_as_template

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:software:tim:instance_context_use_instance_as_template [2014/06/11 14:46]
melanie.yesilcay created
en:software:tim:instance_context_use_instance_as_template [2021/07/01 09:52] (current)
Line 1: Line 1:
-FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)//+
  
 ==== Instance as a template (copy) ==== ==== Instance as a template (copy) ====
  
-An already ​finished or archived instance can be used as a template for a new instance. ​To this, **"​Instance as a template"​** must be selected ​via the context menu. \\ +finished or archived instance can be used as a template for a new instance. ​For this, **"​Instance as a template"​** must be selected ​from the context menu. \\ 
-The values ​of the template are copied and transfered ​to the new instance. The resulting instance ​starts normally from the beginning ​but the smartform has been pre-filled with all process variables and smartform values ​of the template. ​+The values ​from the template are copied and transferred ​to the new instance. The resulting instance ​begins just like any other instance, ​but the smartform has been pre-filled with all process variables and smartform values ​from the template. ​
  
  
Line 11: Line 11:
 ==== Ignore process variables ==== ==== Ignore process variables ====
 <note tip>If certain process variables are not needed, these can be excluded </​note>​ <note tip>If certain process variables are not needed, these can be excluded </​note>​
- +the following function can be used to prevent process variables from being carried over (custom.js):​
-In order not to transmit process variables, ​the following function can be used (custom.js):​+
 <code js> <code js>
-gadget.functions["​prepareEntityForCopyOfPROZESSDEFINITION ​NAME WITH SPACE"​]=function(entity)+gadget.functions["​prepareEntityForCopyOfPROCESSDEFINITION ​NAME WITH SPACE"​]=function(entity)
 {       ​delete entity["​date"​];​ {       ​delete entity["​date"​];​
  delete entity.modified["​date"​]  delete entity.modified["​date"​]
Line 23: Line 22:
 </​code>​ </​code>​
  
-In this case the value **PROZESSDEFINITION ​NAME WITH SPACE** ​will be replaced by the name of the relevant process definition ​and also the names of the process variables must be adjusted according to the customer requirements. ​+In this casethe value **PROCESSDEFINITION ​NAME WITH SPACE** ​must be replaced by the name of the relevant process definition. Also, the names of the process variables must be adjusted according to the customer requirements. ​
  
en/software/tim/instance_context_use_instance_as_template.1402490781.txt.gz · Last modified: 2021/07/01 09:54 (external edit)