Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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

Forum Posts

Resolved! How to remove time part

Hi All, I have written a below scheduled script which is capturing days in three figure. update_days(); function update_days() { var gr = new GlideRecord("sc_req_item");gr.addQuery('Active', true); gr.query(); while (gr.next()) { var datediff = gs.da...

find_real_file.png
Chirag10 by Mega Contributor
  • 1909 Views
  • 5 replies
  • 1 helpfuls

How do we add flow variables to a flow?

We are trying to create a flow variable within a flow to hold the name of the flow for logging purposes. We can't figure out how to add flow variables to the flow. I am including a screenshot. I see the "plus" button but it doesn't work.

Myron Smith by Giga Contributor
  • 2764 Views
  • 6 replies
  • 1 helpfuls

How to create a dynamic clickable hyperlink?

Hello, I have been given a story that when a notification is generated it has a link to the knowledge article that was used on the form. How would I go about doing that? More details: So it is a resolution email notification and its body is like so: ...

Fatima5 by Mega Contributor
  • 1434 Views
  • 4 replies
  • 1 helpfuls

Resolved! How can I get the values of the record producer variables?

Hello everyone,I have a record producer with some variables, let say for example url1, url2, url3 type single text, I need to capture the values of these variables(This is the hard part) for a further work. I've tried using producer.variable1, and as...

gmorales by Kilo Expert
  • 14884 Views
  • 10 replies
  • 21 helpfuls

Resolved! Changing Catalog Item Variable order via script

I'm pretty sure this is possible using g_form.setVisible(fieldname,boolean) to change the order of the variable, but I'm not sure exactly how I should be coding it. I currently have a variable set that is being used in dozens of other catalog items, ...

find_real_file.png
Staxed by Tera Guru
  • 4287 Views
  • 5 replies
  • 3 helpfuls

"wait for" condition in subflow

Hoping it may be a simple one  Im working on a subflow in flow designer. I need to come up with an action that waits on the RITM to be updated before moving to the next step of the flow. I did do a "if" statement with a look up record step before and...

CandyDee by Kilo Sage
  • 1133 Views
  • 1 replies
  • 1 helpfuls

Resolved! Calculating end date with time zones

I currently have the script below and I'm trying to add duration to the start date of a task to calculate the end date. The issue I'm having is, how do I take into consideration the timezone difference. So, if I schedule the start date of the task to...

How to check if fields are modified before Submitting

I have a catalog item where I am populating 10 fields based on a reference field. Now I want to make sure user has modified atleast one field. I tried using the below code but it didnt work. function onSubmit() { var field1 = g_form.getControl('f...

ursnani by Giga Guru
  • 1300 Views
  • 3 replies
  • 0 helpfuls

Script to Identify Plugin Dependencies

Hello Experts, We have a need for a script that will help us identify plugins and their associated dependencies installed on a given instance. Our cloning schedule down to our development instances can potentially wipe out dependencies for installed ...

J Benson by Tera Contributor
  • 2082 Views
  • 1 replies
  • 3 helpfuls

Resolved! How can I determine who clicked a UI action

Hi,  I am wondering if it is possible to get the user information of whoever ran a specific UI action in the UI action being run. I need the user initials in my UI action script. I am not sure if this is possible, but if so does anyone know how to do...

Bushra Syed by Tera Contributor
  • 2329 Views
  • 2 replies
  • 1 helpfuls