# (PL/SQL) Adding Coding Rules, How to create new custom rule that checks for specific text (like WO# or WorkOrder# )

**URL:** <https://community.sonarsource.com/t/pl-sql-adding-coding-rules-how-to-create-new-custom-rule-that-checks-for-specific-text-like-wo-or-workorder/58479>\
**Category:** Writing rules\
**Tags:** plsql, template\_rule, sonarqube, custom\_rules\
**Created:** [February 17, 2022, 3:37am UTC](https://community.sonarsource.com/t/pl-sql-adding-coding-rules-how-to-create-new-custom-rule-that-checks-for-specific-text-like-wo-or-workorder/58479 "2022-02-17T03:37:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkatakam](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@pkatakam](https://community.sonarsource.com/u/pkatakam)\
**Post date:** [February 17, 2022, 3:37am UTC](https://community.sonarsource.com/t/pl-sql-adding-coding-rules-how-to-create-new-custom-rule-that-checks-for-specific-text-like-wo-or-workorder/58479/1 "2022-02-17T03:37:06Z")

</div>

Create new custom sonar rule for PL/SQL script which check for specific text (like WO# or WorkOrder# ) in the comment at start of the body script,

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/6/7/67af9fd280cedfd25b9e44064045319190df6beb.png)

Is it possible to add such type of sonar rules? if Yes, please give the details how to add.

Thanks in advance!
