Bot roles assigning

Actually I’m searching for approach to follow for the bot roles assigning.
The existing solution is to assign a role for each process per application and when is i want to preform another process on the same application i have to create another role for each process at the sam application. This will cuz thousands of roles!!
So my question is, is there any alternative solution.

What is the purpose in creating a role for each process?