How we can achive if we upload files count and if we delete some files then count value decrease?

0
Hi, I am worked on count functionality of upload files, but then after delete one how we can implement file count value decreses.  
asked
2 answers
1

Hi Krishnaveni,

 

Show count in Dataview with microflow as datasource, In microflow retrieve files list and aggregated list with count and set the count value then return, During file deletion refresh your count storing object it will automatically show updated count. 

 

Hope it helps!

Thanks & Regards,

Manikandan K

answered
0

Hi Krishnaveni,

When increasing the count value, store that value in an attribute. Create a button for decreasing the count, and call a microflow. In the microflow, use the parameter that holds the count value. Each time you press the decrease button, apply the logic countValue - 1, and make sure to include a condition to prevent the value from going below 0.

You can take non persistable entity for storing countValue.

Hope you like the answer.

answered