does current work in ui action
does current work in ui action, what API i should use instead of current so that i get the same functionality
We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More
does current work in ui action, what API i should use instead of current so that i get the same functionality
I have a requirement to store the old display value of a reference field in a string field. I'm using an onChange client script, but I can't figure out how to get the display value from oldValue. Does anyone know how I can accomplish this? What I ...
I am trying to get a list of all roles a single user is assigned, however, this query doesn't appear to work https://<instance>/api/now/table/sys_user_has_role?sysparam_query=user.value=<sys_id> ...It returns the entire table Thoughts?
Hi, I have a requirement where i have to display message based on the value(0-9) that user gives in a survey. There is out of the box script include SPSurveyAPI which is used. in line 683 getMessages(gr) what value comes in (gr)? I...
So i have got two sn-record-pickers and i want to clear the value of one of the sn-record-pickers when a value is changed from another picker Here is my code: HTML Code: <div class="panel panel-default"> <div class="panel-heading"> <h2 class="pan...
Hi all, I have a Validation regex for a field within a catalogue item. It currently does not allow the characters [^"();:<>]+ which works fine. But now I need to prevent spaces being entered at the beginning, middle or end, how can I do this? Can I ...
Will there be a downtime during upgrade? How long does upgrade take? Will users who are already logged in will still be able to login? Will users be logged out if they are logged in during upgrade? Will users be able to login during the upgrade? Is t...
Hi I'm trying to figure out how get the value from ldap import and userAccountControl attribute I need to get the value for disabled.ACCOUNTDISABLE 0x0002 2 LockoutLOCKOUT 0x0010 16 Password can't changePASSWD_CANT_CHANGE 0x0040 ...
HI Champs, Need your help. There is a requirement to make certain variables visible and editable on associated task for catalog item till the time the RITM is open. Once the RITM is closed, the variables on task should be read only. These variables s...
HI, I have a select box variable and 'remove' some options via a catalog client script on load. Now I need to be possible to list the remaining "possible" options via a catalog client script. How to? Was was hoping it works this way ... var value...
Hi,I am trying to get all the choice option values in a client script to verify whether the choice field has a particular choice option in it,if not I want to create that option dynamically.Could someone suggest me,whether we have any method to get t...
I have some catalog client scripts that use Hard coded sys ids of groups to compare Assignment Groups on Tasks . How do I replace them with system properties.
Hello,I'm trying to hide a form section when a certain condition is met. I created a UI policy and saved it but the UI policy actions list is not being displayed upon saving. I'm using the latest patch of Helsinki. How can I resolve this issue?Thank ...
Hi All, I have a DATE field and I need to validate it such that it difference between the current date and entered date is 4 BUSINESS days. Eg. if today is 21st August, earliest selectable date should be 28th August. Any value entered before 28 shou...
Hello, We would like to change the font weight and size of a few label variables in one of our catalog items that is accessible from the Service Portal. I've seen several older posts addressing this topic and I have tried an onLoad script suggested, ...