how can i create microflow for count?

0
suppose in library management system i have to show the no.of issued books and number of no. of available books for that i have created a entity count ..how can i create a microflow for the same please guide me with the appropriate images
asked
1 answers
0

If you want to do a count, do this:

 

  • Use a retrieve action to retrieve all the books you want to count, e.g. based on some ID or the total amount of books. This depends on your use case.
  • Use an aggregate list action and select "count". This will give you a variable that has an integer with the count.
  • Find or retrieve your count object
  • Do a change object action to set the count attribute of the count object to the count variable that you got from the aggregate list action and make sure commit is enabled.
answered