Dial button to increment a database value

Hi there I am looking to increment a value in the database so i can display a agent's number of dials and the values of his dial outcomes. I presume i need to use a micro-flow that will somehow increment a field in the database. Will i create a variable or do i just set the value in the microflow? Any help is appreciated. Thanks
1 answers

Use an attribute in the agent (NumberOfDials). When it happens increment this variable. Don't forget to decrease at deletes. Another option is to create an attribute that is calculated in a microflow. Retrieve the dials in a list and do a count of that list. Return the count as result of the microflow. Two many off these attributes can have impact on the performance.