box info yesNo example code

example code :

 if (box::yesNo('The data on temp table will be process, are you sure ?', dialogButton::Yes, 'Confirmation') == dialogButton::Yes)
{
    HRSPopulateTimeAttendance.run();
}