How to reset the choice value to --None--?

Snehal2
Kilo Guru

Hi Developers,

I have a choice field Result(Dropdown with  --None--) with three choices(A,B,C) which are being set after a incident is resolved based on certain condition through script(Business Rule)

If the incident is reopened then the field Result should be cleared/reset back to  --None--.

Can any one help me out?

1 ACCEPTED SOLUTION

Daniele Songini
Tera Guru

Hi,

creates a BR before update that is executed when the state changes from resolved to open (or other states that interest you).

current.fieldName = '';

 

find_real_file.png

 

find_real_file.png

Please mark this as "Correct Answer" if I have given you a sufficient answer to your question.

Best Regards,
Daniele

View solution in original post

8 REPLIES 8

Jaspal Singh
Mega Patron
Mega Patron

Hi Snehal,

 

Since it is reopening of incident I guess you would be doing via Business rule or inbound mail action. If so, you can you try using

 

current.result=''; //should default it to --None--

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.

 

Thanks a lot..It worked..!!

Daniele Songini
Tera Guru

Hi,

creates a BR before update that is executed when the state changes from resolved to open (or other states that interest you).

current.fieldName = '';

 

find_real_file.png

 

find_real_file.png

Please mark this as "Correct Answer" if I have given you a sufficient answer to your question.

Best Regards,
Daniele

Thanks a lot..It worked..!!