---
title: "Make external comment mandatory during a transition."
canonical: "https://support.appfire.com/space/JMWE/462160142/Make%20external%20comment%20mandatory%20during%20a%20transition."
format: markdown
---
> Macro (aura-html)

This article provides the code snippet that forces the user to add an external/public comment on the transition screen while executing a transition.

## \uD83D\uDCD8 Instructions

1. Navigate to the intended workflow to make the necessary changes in the edit mode.
2. Select the required transition.
3. Select the *Validators *tab and click `Add validator`.
4. Add the “[Build-your-own Validator (JMWE app)](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461406599)” validator.
5. Add one of the below Groovy scripts based on your use case:   
  
**Use case 1**: The comment is **mandatory** on the transition screen, and it has to be external:
  **Use case 2**: The comment is **not mandatory** on the transition, but if entered then it has to be external:

## \uD83D\uDCCB Related articles



> Macro (contentbylabel)