The CreatorCon Call for Content is officially open! Get started here.

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

Forum Posts

Resolved! {"error":{"message":"Exception while reading request","detail":"Cannot decode: java.io.StringReader@caf20b"},"status":"failure"}

Hello ServiceNow Guru's, I am trying to update a field in cmdb_ci_win_server using python REST API. I get the above error.  We have a custom field called "u_regulatory" in cmdb_ci_win_server table which references another table called u_choice_list_r...

shynee by Giga Contributor
  • 6901 Views
  • 3 replies
  • 1 helpfuls

Resolved! How to copy the role from one user to another user

Hi , I have a user 'A' which mapped 80 roles . Now need to create a new user 'B' and  copy the same roles which has available in role 'A' ? Steps Export the user role to XML file . 2. Import the XML in user 'B'. 3. Getting the below error.     Ple...

find_real_file.png find_real_file.png find_real_file.png
Sagaya1 by Giga Expert
  • 3786 Views
  • 2 replies
  • 2 helpfuls

Resolved! How to debug a form load to see what rules/scripts are applied

Hi, A previous developer added some scripts/rules to the Project form, so it removes all project states and adds only Pending and Request Approval states. When the forms loads, I can see all states for couple of seconds, then something applies and al...

find_real_file.png
Greg92 by Giga Contributor
  • 2894 Views
  • 2 replies
  • 2 helpfuls

saveAttachment()

Hi everyone,The saveAttchment ('table_name','sys_id of record') function will allow us to attach a document to a record. Can anyone tell me where to locate this function and how it works??Regards,Arnab

Arnab2 by Kilo Contributor
  • 3514 Views
  • 3 replies
  • 2 helpfuls

Can you remove the approvals from the contract workflow

Does anyone know if you can remove the approval process from the Contract Workflow?I have removed the Approval User step from the workflow, and I updated the set Values for each (None, Renewal, Extension) so that the State = Active and the Sub-state ...

find_real_file.png find_real_file.png find_real_file.png
Cupcake by Mega Guru
  • 2483 Views
  • 8 replies
  • 1 helpfuls

Resolved! Get RITM number through sys_id

Hello everyone! I have a workflow in which a RITM2 is generated and I store its number to a workflow.scratchpad variable. On the same script but later I want to write this RITM2's number to a work note of the current RITM1 but it doesn't appear. I us...

Dafni Tsipra by Giga Contributor
  • 4024 Views
  • 10 replies
  • 3 helpfuls

Import data through UI button for non-admins

Hi Team, I have a requirement to allow the non-admin user to upload an excel and import it into a specific table using a UI action. Basically, they click on a button called "Bulk Upload" and an attachment pop up appears, when they click attach and cl...

Import Set from UI Action

I have a requirement to allow the help desk administrator to upload a spreadsheet and import it into a specific table using a UI action. Basically, they click on a button called "Batch Add" and an attachment pop up appears, when they click attach and...

Blair5 by Tera Guru
  • 2858 Views
  • 10 replies
  • 3 helpfuls

snChoiceList Directive snOnChange issue

Hi All,Need some Service Portal widget expertise please. I'm having trouble getting the value out of a sn-choice-list field with an onchange. Here's my HTML:<sn-choice-list         sn-on-change="c.valueSelected(attribute)"         sn-model="attribute...

How to auto assign the incident to the agents

HI All, I have a Use case where i have to auto assign the incidents to the agents,if one agent has a ticket the next ticket should be assigned to the one which is free  in other words i have to implement Roaster, does anyone know how to achieve this?...

Sourav2 by Kilo Contributor
  • 5585 Views
  • 5 replies
  • 1 helpfuls

New line \n in event & alert description support

Does the event or alert description field support the use of the \n or \\n or some type of new line character.The field just displays anything I place in as text.Have also created a event rule to combine multiple event fields to compose a more meanin...

gavinsmith1 by Kilo Explorer
  • 5997 Views
  • 5 replies
  • 1 helpfuls