Instructions in INIT element are used for rule parameters creation or initialization from application environment. Each parameter is initialized with LOAD element.
Attribute SRC of LOAD element has the following values:
RULE – rule parameter is created from values that origins from rule itself
HWM – rule parameter is created from ProcMan HWM application environment
IWSAPP – rule parameter is loaded from IWS application
IWSOPER - rule parameter is loaded from operation in IWS application, the operation is specified by additional SCOPE attribute (FIRST, LAST)
DATE – rule parameter is loaded from date relative notation
LOOKUP – rule parameter is created from lookup
CLONE – rule parameter is assigned during processing clone module
Rule parameters can be created with simple assigned text value.
Example: Rule is processing AD application with application ID FP391X, load will assign simple text value FP391X to parameter PARAM1
Rule parameter can be created using value from HWM application environment. This option can be used for automatically load values from ProcMan process data. It is possible to load values from both general and additional process data.
Example: parameter JOBKURZ is created using JOBK value, which was configured by process administrator during process creation in additional process data.
Rule parameter can be created using value from IWS application common segment.
Example: load part of Application ID from 4th character to 11th character to parameter PARAM4
Rule parameter can be created using value from IWS application operation.
Example: load operation number from the first operation in the IWS application
Rule parameter can be created using values from date relative notation. The resulting parameter is string in YYYYMMDD date format. Possible relative notation are TODAY,TOMORROW,YESTERDAY,NEXT,LAST,PREVIOUS WORKDAY,FIRST,LAST DAY OF THIS,CURRENT,LAST,PREVIOUS,NEXT YEAR,MONTH,WEEK.
Example: When this rule is run on 27.10.2017, the PARAM1 is set to 20171030
The date parameters can also altered from other date params by relative time notations as are + 1 DAY
Example: When this rule is run on 26.10.2017, the PARAM2 is set to 20171029
Rule parameter can be created using values from rule lookup. The resulting parameter is array.
Example: load part of Application ID and use it for loading the lookup to parameter INIT1
Rule parameter can parameter can be created by cloning module.
Example: load part of cloning parameter, that is created by cloning module from additional data value *PAR_INST
Rule parameter can be created using combination of other rule parameters. The expression is using + operator to concatenate text values.
Example: parameter PARAM3 is created using values of PARAM1, PARAM3 and text „job”.