Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Resolved! UI action condition via HR service

Hey all,I'm trying to achieve a condition in UI action that shows the button based on the HR service that is selected in HR casetried with ( current.hr_service == 'NAME OF THE SERVICE') and also tried with (current.sys_id == (id of the service)but no...

eyalabuhamad_0-1695730408707.png

Email is not being triggered with gs.eventqueue

Hi All,am trying to trigger an email using gs.event queue with the below script but its not sending any emails. var userGr = new GlideRecord('sys_user');userGr.addEncodedQuery('active=true^u_account_typeINemployee,contractor');userGr.query();while (u...

need help for server side code using scheduled script

Hi , I am stucked with below script. i have to calculate based on the employee details his performance and rank him accordingly. employee_experience = per year 0.5 pointsemployee_appraisal =per quater 10 points(max 3 quater only)rating = for last 2 y...

sony8 by Tera Contributor
  • 213 Views
  • 1 replies
  • 0 helpfuls

Transform maps script

Hi All,I have my xlsx data like Number: 13456, 246892, 123,2456 but output like Number: CH013456,CH246892,CH000123,CH002456,some time we have 2or3 zero missing in the column, I'm using the below code but it will not retrieve the all data, some data m...

pvv1045330 by Tera Contributor
  • 191 Views
  • 1 replies
  • 0 helpfuls

URL link need to add while task creation

Hi, I have created a schedule job which creates a task by using code below.But now i want to pass URL link like if it is for test/prod, it should fetch current url and  then add this link to it. "currentUrl/sys_user_list.do?sysparm_query=roles%3Dadmi...

Resolved! How to delete Huge amount of records using UI action

Hello Experts,I want to delete a large amount of data when a user clicks on a UI action button. In my script, I have used the deleteMultiple method, but it's only deleting a very small number of records, around 50, and my instance's performance is al...

Mark Wood by Tera Contributor
  • 437 Views
  • 2 replies
  • 1 helpfuls

Breakdown for Unassigned not working on Analytics Hub

I've got two interactive filters on a dashboard called 'Assigned to' and 'Assignment group' which list all of the available assignees and assignment groups. I've also got an option called 'Unassigned' in my list. The breakdown for both elements are: ...

matthew_hughes_0-1695716825966.png matthew_hughes_1-1695716864429.png matthew_hughes_2-1695717217991.png matthew_hughes_3-1695717270527.png