# getRaftElectionTick {#getraftelectiontick}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`getRaftElectionTick(groupId)`

## Arguments {#arguments}

**groupId** is a positive integer indicating the raft group ID. Currently it can only be 1, referring to the ID of the raft group composed of controllers.

## Details {#details}

Obtain the election tick in the specified raft group. The election tick is specified by the parameter *tickCount* of command `setRaftElectionTick` or the configuration parameter *raftElectionTick*.

Related Functions: [setRaftElectionTick](../s/setRaftElectionTick.md), [getControllerElectionTick](getControllerElectionTick.md)

