First Callers

N2FE Flow Operation - First Callers

The FirstCallers uses NCC Event Counters to count the number of calls which reached this operation. The counter will be incremented, and will branch according to the value of the counter:

The FirstCallers operation has exactly two exits.

Config Parameters

The FirstCallers operation config attributes are as follows.

Parameter Type Description
counter Event Counter [Required] This must be the Name of an NCC Event Counter which has been previously created for the same NCC Customer who owns this Flow.
limit Integer [Required] This is the limit until which branching will occur down the first exit. After the limit is reached, subsequent calls will branch down the second exit.

Example Operation

Here is an example FirstCallers operation in JSON representation.

    {
        "id": 5,
        "type": "FirstCallers",
        "base_node": 1,
        "config": {
            "buffer": "My Event Counter",
            "limit": 3
        },
        "exits": [ 4, 17 ]
    }

In this example, the NCC Event Counter My Event Counter will be incremented by one. Then if the new value is less than or equal to three, processing will proceed down exit index 1 to operation ID 17. Otherwise processing will continue down exit index 0 to operation ID 4.

Exits

There are exactly two exits for every FirstCallers.

Exit Index Name Description
0 Less-Than-Or-Equal Exit [Required] This exit is used if the counter value after incrementing is less than or equal to the configured value.
1 Greater-Than Exit [Required] This exit is used if the counter value after incrementing exceeds the configured value.