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

Forum Posts

Resolved! How to check if a workflow is running via script

I need to programmatically check if a workflow is running. I need to run a specific function when the workflow reaches the END state.I am starting a workflow in a Script Include.How can I check when the workflow has reached the END state in the same ...

Katie A by Mega Guru
  • 4440 Views
  • 1 replies
  • 2 helpfuls

mid server dnslookup

Is there a way to execute a DNSLOOKUP of a server through the mid-server and return the IP Address?   I need to initiate the discovery of a server from a workflow but all I have is the server name. I found the following WIKI article to initiate the d...

dbaril by Tera Expert
  • 2358 Views
  • 1 replies
  • 0 helpfuls

rest api date range query params

Hi,how do I query the rest api for incidents between date range ?   I used /incident?start=&end= but this doesn't see to work. It fetches all the records from beginning with 10,000 per page.I am using chrome advanced rest client to query the api. any...

chamarts by Kilo Explorer
  • 5123 Views
  • 1 replies
  • 0 helpfuls

How to set up sysparm_additional_qual

How to set up sysparm_additional_qual from UI page client script. I have   one ui_reference field <g:ui_reference id="symptomID" name="QUERY:u_type=incident" table="u_symptom_service_mapping" value="${jvar_symptomID}" query="updateSymptomQuery();" on...

purbali1 by Giga Expert
  • 1943 Views
  • 3 replies
  • 0 helpfuls

Resolved! XML String Parse Help Requested: XMLDocument2()

I was hoping someone might be able to help a newbie in SOAP/XML world.I am successfully able to make outbound SOAP call and retrieve a response. I am trying to build the bones of code that will make the get call and create a record based on response ...

Resolved! Roles Comparison in Table "sys_app_module"

Hello SNCI want to display the modules on the page based on the logged in user role.So I want to compare logged in user role with roles field of module.var gr = new GlideRecord('sys_app_module');gr.addQuery('active',true);gr.addQuery('application.tit...

Untitled.png User+Roles.png

Stop addInfoMessage Displaying twice

Hello,I am using a BR script in Test Management module to update test case Execution status based on Child test status. But the addInfoMessage displays twice. How to stop itTried this script running in Before and After scripts couldn't fix it:Running...

addinfomessage error.jpg
aladpereira by Mega Expert
  • 3452 Views
  • 12 replies
  • 0 helpfuls

The value of True/false field

In my table I have a field called u_active and the type is True/False. In my record producer I have a drop down field the values of Add and Delete. When a record is submitted with 'Add' flag the u_active field should be shown as true; and when a reco...

sonita by Giga Guru
  • 13911 Views
  • 24 replies
  • 1 helpfuls

Resolved! Custom Applications. What is the benefit?

Hello everybody,I know this sounds a bit weird that I'm asking this question, but at this moment I don't see the benefit of using scoped applications rather than developing in an old manner - transporting all in update set within global scope. Can an...

Andrii by Kilo Guru
  • 6441 Views
  • 4 replies
  • 13 helpfuls