bettercomment.demo.mp4
BetterComments is a custom Automation Anywhere package designed to enhance bot documentation and maintainability. It allows you to add multi-line comments and embed images directly in your bot logic.
- Import the
BetterComments.jarinto your Control Room using the Packages section. - Deploy it to your bots as needed.
- If build issues occur, refer to the patch instructions below.
📌 Tip: Use comments generously in complex loops or decision structures for better maintainability.
gradle clean build :shadowJar
Make sure "Secure Recording" is disabled in your Control Room settings.
🔒 Why? Secure Recording blocks image preview functionality. If it's on, image actions will run silently but nothing will show up.
To disable it:
- Log in to the Control Room with an admin account.
- Navigate to Setting > Bots > Secure Recording.
- Turn off the Secure Recording option.
Heads-up: The current version of the Automation Anywhere SDK has a known issue that breaks builds unless manually patched. Here’s a temporary workaround:
-
Extract the JAR
jar xf BetterComments-2.11.0.jar
-
Edit
package.jsonInside the extracted contents, locate thepackage.jsonfile. -
Repackage the JAR Once cleaned, repackage the JAR:
jar --create --file BetterComments-PATCHED.jar -C BetterComments-2.11.0 .


