Hi @Yakout RAMZI,
Thank you for reaching out to the Microsoft Q&A Forum.
Based on my testing environment, your JSON code is correct, and functions as expected. The green button becomes active only when all required fields are populated, and the other states behave as intended.
Additionally, I noticed you mentioned that the green button is also unresponsive. Could you please clarify this issue further? Understanding this will help us troubleshoot more effectively.
However, to better understand why the green button might not be triggering the action in your environment, could you please confirm the default column types for the following fields?
- MotifPrescription
- TypeTraitement
- NomMedicament
- DateExpiration
- CodeProduit
- Fournisseur
- MedecinResponsable
- Posologie
- RemiseTotale
- Statut
In my setup, I configured these column as below types:
- MotifPrescription: Choice
- TypeTraitement: Choice
- NomMedicament: Text
- DateExpiration: Date and time
- CodeProduit: Text
- Fournisseur: Text
- MedecinResponsable: Text
- Posologie: Multiple lines of text
- RemiseTotale: Currency
- Statut: Text
Looking forward to your update so we can help you troubleshoot further.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.