Request extension UI action.

HemaV
Tera Contributor

Hello, 

I have a requirement like "As a Policy Exception Requester, when I request an extension, an error is displayed. "The duration of this policy exception cannot be more than 365 days from the "Valid from" date" when attempting to extend a policy exception." 

Acceptance criteria: I am able extend a policy exception no more than 365 days from the "Valid to" date when requesting an extension. When extension is approved, the valid to date gets updated with the approved extension date.

 

I have created a UI action and UI page for this. I will share the scripting part for both. 

HemaV_0-1749659391951.png

 

UI page HTML

HemaV_1-1749659507415.pngHemaV_2-1749659540850.png

 

UI page client script

HemaV_3-1749659583848.pngHemaV_4-1749659611334.png

HemaV_5-1749659651396.png

For the above script updates, my output while testing.

HemaV_6-1749659724191.png

 

Please help me with the changes required to be made. 

 

0 REPLIES 0