Using an "Unknown" option in a User List.

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • In Progress
I need to assign a record using a User List drop-down field. However, the person selecting the assigned person may not know who the assigned-to user should be. So, we need to add an option for "Unknown" in the drop-down. How can we do this without using a license? 
Photo of John

John

  • 122 Points 100 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Chuck Grigsby

Chuck Grigsby

  • 2,100 Points 2k badge 2x thumb
Is it possible to just leave it blank assuming it's not a required field.
Photo of John

John

  • 122 Points 100 badge 2x thumb
I forgot that detail. It is a required field. Leaving it blank would cause an issue. 
Photo of John

John

  • 122 Points 100 badge 2x thumb
This might actually work.  I can create a user in the application called "unkown@url.com" When that is selected, it will indicate that the record needs to be properly assigned.
Photo of Chuck Grigsby

Chuck Grigsby

  • 2,018 Points 2k badge 2x thumb
Let me know if it works, good luck!
Photo of Rohit Agarwal

Rohit Agarwal

  • 552 Points 500 badge 2x thumb
Creating unknown user it's like wasting your user licenses.
Photo of Chuck Grigsby

Chuck Grigsby

  • 2,018 Points 2k badge 2x thumb
The theory is that it's not used until the person logins to the app for the first time. He could check his user count, add the fake user again to test that though.
Photo of Rohit Agarwal

Rohit Agarwal

  • 552 Points 500 badge 2x thumb
I think we can approach in this way also.
What do you think?

1- make this field not required.
2- When you save a record without entering the value in this field at that time Fire a webhook and see if the field is blank. If it is blank fill it with the default value.
Photo of Rohit Agarwal

Rohit Agarwal

  • 552 Points 500 badge 2x thumb
What is the field type?
Photo of John

John

  • 122 Points 100 badge 2x thumb
The field type is "User - List"
Photo of Rohit Agarwal

Rohit Agarwal

  • 552 Points 500 badge 2x thumb
I didn't find the option to add the value 'UNKNOWN'.
but w/o using license how I will approach.

1- make this field not required.
2- When you save a record without entering the value in this field at that time Fire a webhook and see if the field is blank. If it is blank fill it with the default value.

I hope this will work.

Thanks,