auto populate Closed Date field when clicking on Close button is not working

Karinush
Tera Contributor

Hello ! 

I have created on my form a UI ACTION for close button, here is the code : 

Karinush_0-1706687389939.png

and also created a field that will store the closed date:

Karinush_1-1706687449702.png

and i want whenever a use click on the close button this field will auto populated so i used a BR:

condition: state changes to closed

code:

Karinush_2-1706687532481.png

but its only working if i chooses the closed option from the form in myself and right click then save,

if im using my button it changes the state but not filling in the closed date field 😞

2 REPLIES 2

piyushsain
Tera Guru
Tera Guru

@Karinush 

You have to remove the setworkflow(false) in UI Action to trigger the BR

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Piyush Sain

@Karinush 

Please let me know if it works for you

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Piyush Sain