/build/static/layout/Breadcrumb_cap_w.png

Giving checkbox a value outside of '1' or '0', possible?

So we have a checkbox within our ticket that, if marked, would set the priority to "high."  This checkbox is essentially the "urgent checkbox"

Because the ticket rules run on ticket save, if you try to change the priority while this is true, the ticket rule sets it back to High.  Makes sense.  Can't get around that?  Or can I?

The MAIN issue is, though, that when I go to the ticket layout I want the URGENT field to show something besides '1'.  I made a ticket rule that will change the 1 to a YES so then a YES shows up on the ticket layout, however since this is a checkbox field the box is then "unchecked" and if you open the ticket and save it, the urgent goes away COMPLETELY.


I'm working now to have a checkbox that says urgent but have a hidden custom value that says "if this is 1, SHOW YES" but I was hoping there was an easier way to manipulate this.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Wildwolfay 10 years ago
Red Belt
0

I've worked around it as described in the final comment of the question: 

I've set the checkbox as it is, and made HD_TICKET.CUSTOM_FIELD_VALUE1 to read if HD_TICKET.CUSTOM_FIELD_VALUE0 is a '1' then make itself "YES", if '0' then " ".  I then have this field displayed on the ticket layout.


Comments:
  • Interesting work around. Does the YES display under the Check Box in the ticket layout? - jmarotto 10 years ago
  • It does, but KACE required the field be anything but "HIDDEN" in order to be an option in the ticket report screen. - Wildwolfay 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ