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

Forum Posts

Only show time on date/time field in portal

Hi All, I have a requirement where i need to only show a time field in the time sheet portal form view. When adding a time field it shows as a string. When adding a date/time field it will show as expected. I would like the date/time field to only sh...

SN_BUDDY by Tera Guru
  • 1338 Views
  • 3 replies
  • 0 helpfuls

A non-unique index exists on this column.

When I try to mark a column on parent table as Unique. IT throws below error . Deleted unique fields on Childs and updated data in column to make sure its unique. Tried setting index as true too A non-unique index exists on this column. To create a u...

Kumar38 by Kilo Sage
  • 2734 Views
  • 3 replies
  • 0 helpfuls

Resolved! Pass subflow output back to flow

Hello, I have a flow that has a sub flow step within my flow. My subflow creates a catalog task. I’ve created an output, but I am unable to access the output in flow. How can I pass my sub flow output (task that I’ve created) back in my flow? thanks!

mballinger by Mega Guru
  • 2476 Views
  • 1 replies
  • 1 helpfuls

Resolved! Maximum number of records returned using query?

Hi community, What is the maximum number of records returned when we query a table?I found this article that says the database view is limited to 10001 records.How does it looks like for any other tables? Scenario:I will query the staging table and p...

miro2 by Mega Sage
  • 7746 Views
  • 4 replies
  • 2 helpfuls

Resolved! Copying Attachment from One field to another table.

Hi Experts,  I had a use case where I had to copy attachment from one table to another table so I used the script below. var attachment = new GlideSysAttachment();var attached = attachment.copy('source_table','source_table_sys_id', 'sys_data_source',...

Resolved! Submit catalog item as conversation in Virtual Agent

Hello Experts, I have to demonstrate functionality to submit requests within the Virtual Agent chat window as conversation. I referred documentation > Click here and no detailed documentation present with an example setup.I referred to articles writt...

Jagadish10 by Mega Expert
  • 5150 Views
  • 9 replies
  • 3 helpfuls

Resolved! Wait for duration in Flow Designer

Hello! I have a requirement to add a random time in a wait for duration.Initially, it was a wait for condition that had the following script:var minutes = Math.floor(Math.random() * 45);var duration = '00:' + minutes + ':00';return  new GlideDuration...

ElenaPomana_2-1678431881252.png ElenaPomana_0-1678431662168.png ElenaPomana_1-1678431739506.png ElenaPomana_3-1678431964558.png

getValue from multiple choice variable

Hello TeamI'm trying to write a catalog client script. I have a variable (multiple-choice type) is called mac_or_pc. 1st choice is Mac and 2nd choice is PC. How do I get the value on the 1st choice & 2nd choice? I'm trying to pass values into the scr...

SnowDevOps_0-1713536554455.png
SnowDevOps by Giga Guru
  • 2066 Views
  • 7 replies
  • 0 helpfuls