# How efficiently i can built the bot? is there any standards ?

Is there any framewrok which you can provide for guide

##### Post Metadata
- Posted at: over 6 years ago
- Author title: Senior Analyst
- Net upvotes: 1


## Comments
### Comment 1

There are numerous coding standards for an AA task. Reusability  and stability of the code are major ones. The code has to be divided into appropriate sized subtasks. The sub-tasks are to be named based on the operation that they carry out. The master-task should have proper business logic for calling subtasks and well as for checking their completion. Variables are to be given unambiguous names and descriptions should be added while declaring them. If-Else conditions and Loops need to be used to for checking outputs and requirements. Comments are a crucial part of code which help in supporting or editing the bot. Exception handling of the task has to include all possible business and system exception scenarios. The bot also has to meet all the reporting requirements(email alerts/logs). Along with creating the code, meticulous documentation should also be created by the developer which becomes more useful while handover.

##### Comment Metadata
- Posted at: over 6 years ago
- Author title: Consultant at EY



### Comment 2

Yes in automation anywhere have coding standards like bot frame work, maintain variable naming convention,error handling mechanism and maintain each bot should 250 lines of code maximum, commenting for each logic what you are performing on before  and also maintain logs as well. 

##### Comment Metadata
- Posted at: over 6 years ago
- Author title: Certified RPA Developer(AA) at Capgemini




## Related Product
[Automation Anywhere Agentic Process Automation](https://www.g2.com/products/automation-anywhere-agentic-process-automation/reviews)

## Related Category
[AI Orchestration](https://www.g2.com/categories/ai-orchestration)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


