How to overwrite default value to blank/null from an inbound action?

Jared Wason
Tera Guru

Hello,

 

In our dictionary entries for Impact/Urgency, we have default values. I have an inbound email action where I would like to be able to set the Impact/Urgency to blank or null. Does anyone know how I can do this?

I have tried the following in my inbound email action.

 

 

//current.impact = 3; //does work, not what i need
//current.urgency = 3; //does work, not what i need 
//current.impact = ""; //doesnt work
//current.urgency = ""; //doesnt work
//current.impact = null; //doesnt work
//current.urgency = null; //doesnt work

 

1 ACCEPTED SOLUTION

Jared Wason
Tera Guru

I ended up just creating a onLoad Client Script that uses g_form.clearValue to wipe the values that I needed, instead of trying to make the change occur in the inbound action.

View solution in original post

6 REPLIES 6

Luke Van Epen
Tera Guru

Does using this work?

current.setValue("impact","")

 

That did not work, thank you for the suggestion though.

Mike Rakvica1
Tera Guru

Are you creating a record or updating a current record? Also I don't think impact/urgency out of box have the "include none" option, they are set to always have a value.

What's the purpose for setting these to "blank" or "null"?

I am creating an incident via an inbound action. They do not have an 'include none' option, however, if you remove the default value from their dictionary entry they will show up as blank when creating a new incident, so it seems like it should be possible to set them to blank. 

 

The reason is that the group that gets these incidents wants to manually set the impact and urgency. If it is already set they forget to change the values to the proper impact and urgency.