Call service Via button in PEGA 24.2

Hello, i have an request that in first view new create a case i need to put an property text that user can put his SSN and need to add an button to call a service to check if ssn is correct and if it is correct to populate data in application. In Costellation buttons are not more available any suggestions how to made it ?

Two options:

  1. Add a Form refresh setting on the SSN field change event to trigger the service call automatically.

  2. If you want to simulate a button, add a checkbox labeled “Validate SSN.” When the user clicks the checkbox, trigger the service call.

set up the refresh form on the action button first validate the SSN length and later call the service to verify the SSN.Based on the funtional requirement either dispaly the message on show the color codes if valid or not.