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

Forum Posts

Resolved! Starting workflow from Script

Hi Everyone,I've been banging my head trying to get this to work.   I have a workflow that I have configured to return a value as the workflow.result.   I'm starting the workflow from a script using the startFlow method.   How can I have the script w...

bernard6 by Mega Expert
  • 5236 Views
  • 7 replies
  • 1 helpfuls

Link in the table column

Hi All,                   I have a requirement to have a column in the table which should be of type link/button and that link/button will be linked to store few data in another table.Below shown table is my "Training" table in that I need to have a ...

Untitled.png
sowmyaj by Giga Expert
  • 3323 Views
  • 3 replies
  • 1 helpfuls

Resolved! ACL for SC_task access...

Hi,I've created a new workflow for a business area and want to send them catalog tasks to perform some work...I don't want them to have the access provided by the ITIL role out of the box but I do want them to have access to the sc_task table to view...

Role query.PNG Role queryv2.PNG

Assigning value to a field based on another table?

Hi,I'm battling with this business rule and would appreciate your assistance. New to scripting world!We have a requirement to assign value to a field based on another table. Let me explain you clearly........... We have 2 tables sys_user table (base ...

Nani6 by Mega Guru
  • 3070 Views
  • 4 replies
  • 4 helpfuls

Resolved! UI Macro/g:evaluate help

Hi all,I'm trying something new (for me). I've got a UI Macro that I'm modifying.I've added the following g:evaluate tag:<g:evalute var="cart_count" object="true">var cart_count = new GlideAggregate('sc_cart_item');cart_count.addAggregate('SUM','quan...

Adding a column to Pivot table report

Hi,I have created a Pivot table report on a task_survey_detail table and aggregated by Average .The 3 columns displayed on the report are   Item, Question and Average.Ho do   I add another column to display the Number of surveys taken in each Categor...

maryc by Tera Contributor
  • 1287 Views
  • 1 replies
  • 0 helpfuls

Resolved! How do you disable a CSS include on a custom UI Page

I have a custom UI page I have created and I have my own CSS I want to use for his page but this css... <link type="text/css" href="/styles/css_includes.cssx?v=06-17-2014_1527&amp;c=04-24-2013_15:52:34_19330a326856e5006b96a676065a03d3&amp;theme=" rel...

Resolved! How to refresh a UI page after deleting a record?

Hi All,I have a UI page, in which I have written code to display he list of records from a table. I created a "delete" button next to every record.The code is shown below:HTML:<button style="width:95%; color:#1E90FF;" type="Submit" onClick="deleteFun...

jenny32 by Tera Guru
  • 11140 Views
  • 12 replies
  • 5 helpfuls

identify records that are in one table, but not another

Looking for a way to put a script together that will identify all records that are NOT in 2 tables.For example, all CI that are in the cmdb_ci table, but not in the task_ci table, maybe filtering by class.not a count.. but a listThe following seems t...

funkjunkie by Giga Contributor
  • 3415 Views
  • 1 replies
  • 2 helpfuls

Resolved! I want to delete emails from the email log which I created yesterday. Can anyone help me out with the background script to delete the emails from the log. They are are in ready to sent sate, but not sent.

I   was working on something which created 15000 emails yesterday. They are sitting in the email log in ready to sent state. I turned off the email notifications to stop sending them. I need a background script to delete all the mails that were creat...

hash3 by Kilo Contributor
  • 4808 Views
  • 3 replies
  • 6 helpfuls

Resolved! Service Request incident

Hello community,Was wondering if someone could help with this...So i have a requirement to create a simple Mailbox request that in the end will create an incident for an AG to carry out the permission granting once the request is approved.I started w...

Brian S5 by Kilo Sage
  • 2897 Views
  • 2 replies
  • 3 helpfuls

Resolved! Getting a value in a catalog client script

Hi there,In a catalog item, I have a variable reference field called requested_for. It is auto-populated by "javascript:gs.getUserID();" when the form loads; however, the user can change it when requesting an item for someone else.I would like to set...

oharel by Kilo Sage
  • 14251 Views
  • 15 replies
  • 2 helpfuls