aggregateDocumentBlock
Last updated
Last updated
Input - a document or an array of documents which will be aggregated
Output - an array of documents, after the reporting period expired or the condition is met
Block Property | Definition | Example Input | Status |
---|---|---|---|
To know more information about events, please look at Events.
Property Name | Name in JSON | Property Value | Value in JSON | Description |
---|---|---|---|---|
tag
Unique name for the logic block.
aggregateDocumentBlock
permissions
Which entity has rights to interact at this part of the workflow.
Standard Registry.
defaultActive
Shows whether this block is active at this time and whether it needs to be shown.
Checked or unchecked.
On errors
Called if the system error has occurs in the Block
No action
Retry
Go to step
Go to tag
stop Propagation
End processing here, don't pass control to the next block.
Checked or unchecked.
GroupByFields
We can set additional fields to group documents. Also documents are always grouped by user.
Field Path
AggregateType
Type of Aggregate
Cumulative Dimension
Period
Event Type
-
Input Event
Output Event
-
Type of the event - determines whether this is ingress or egress event for the current block.
Source
"source"
Block tag(string)
"block_tag"
The block which initiates the event.
Target
"target"
Block tag(string)
"block_tag"
The block which receives the event.
Output Event
"output"
Event name(string)
"event_name"
Action or issue that caused the event.
Input Event
"input"
Event name(string)
"event_name"
Action which will be triggered by the event.
Event Actor
"actor"
Event Initiator
Document Owner
Document Issuer
""
"owner"
"issuer"
Allows to transfer control of the block (execution context) to another user. Empty field leaves control at the Event Initiator.
Disabled
"disabled"
True/False
true/false
Allows to disable the event without deleting it.