|
Element "zpro > ProcessForm > ProcessBlock" |
|
|
A ProcessBlock Element must be placed into a ProcessForm Element. It must contain at least one ProcessDefinitionElement and it may contain zero or more Process Block Input Elements such as EditBox, ListBox, etc.
Properties With the Javascript methods provided by MoreMotion Face API it is possible to manipulate (add, delete, copy, etc) the Process Records of a Process Block. If the records of a Process Block needs to be manipulated then true should be assigned to this property. See more... Selection Color If a color code is specified with this property it is used to highlight the Process Record which is selected by the user. Warning Color If a color code is specified with this property it is used to highlight the whole Process Block to warn the user about a missing mandatory or excessive Process Record selection.
A ProcessBlock can be a repeated by defining its "Repeat | For Each" Property or can be a simple block which is not repeated. The Process Definition elements that are placed into a Process Block The processRecord methods of the process classes are subject to call for each process record existing in a process block. Therefore a process who supposed to be executed only one time should not be placed into a repeating process block.
Repeating Process Block and Process Record If a Process Block has a Repeat | For Each definition, that ProcessBlock is named as Repeating Process Block and each record in the block is name a Process Record. If a process definition element, e.g. mor > RelDB > RelDBUpdateProcess, is placed into a ProcessBlock, that means, the corresponding process class will be called for each record in the process block that passes thru the record filter. Please note that a process definition element can also be placed outside a ProcessBlock element. In that case the Process Manager creates a dummy, non-repeating ProcessBlock before calling the process broker class. The processes like mor > RelDB > RelDBQueryProcess or mor > ADOM > ADOMQueryProcess are query processes and they can have sub-processes. It is not important how the process records of a process is populated. They can be extracted from a submitted process form or it can be provided by a query process. Therefore it is possible that a process element is placed directly into a ProcessForm, not into a ProcessBlock, and still has a ProcessBlock, containing one or more Process Records, supplied by its parent query process. The library elements that can be placed into a ProcessBlock
|