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

Forum Posts

Resolved! Onclick UI action should be grayed out

I have created a UI action Locked. I want when user click on it , it should   be grayed out . Screenshot attached (UI Action encircled in red) :-Thanks,Saurabh

Qt.jpg
coolsaurabh by Tera Contributor
  • 4726 Views
  • 27 replies
  • 3 helpfuls

Resolved! How to include hyperlink in check box variable

Hi All, I have a requirement to include hyperlink in check box variable. But by default we does not have any "Annotation" tab in check box variable. How do we achieve this by any chance. Please help me to get a solution on the same. In the highlighte...

find_real_file.png
Rani11 by Tera Expert
  • 5225 Views
  • 11 replies
  • 0 helpfuls

Resolved! How to Revert a Workflow to prior version

I see from this link, https://community.servicenow.com/thread/236445?q=How%20to%20revert%20workflowthat one can revert to a prior workflow with this code:For deactivating the current.var getInc = new GlideRecord('wf_workflow_version');if(getInc.get('...

Flow Designer - Email Attachments

Hi Team, We have an inbound action using Flow Designer which creates incident from emails received from a particular account say AccountABC. We want our flow to create a ticket only if the email attachment is at least 50KB and if no attachment then i...

Community Alums by Community Alums  
  • 1836 Views
  • 8 replies
  • 0 helpfuls

Check if selected user has access to a record

I need to check in a script whether user X has permissions to read records in a table. My initial idea was to impersonate that user from a script level, and use the GlideRecordSecure / .canRead() method on the GlideRecord, but I am not able to impers...

Resolved! How to set condition on UI Action

Team ... Need your assistance  here    I am testing a UI Action Button but would like it to only appear for the Emergency change type.   In the UI action, there is a Condition box. What is the condition script code I need to type in for the button to...

Zosy by Giga Contributor
  • 14894 Views
  • 7 replies
  • 8 helpfuls

gs.getproperty not working

Hi All,I am using script include in report for some complex query. To make this dynamic i am taking some values from sys_properties table using gs.getProperty() method. But when i use it in script include it is not working. same script is working whe...

Venkat122 by Kilo Guru
  • 8288 Views
  • 21 replies
  • 11 helpfuls

Resolved! gs.debug or gs.info in scripts is not logging

Im using script step in flow designer to create actions.  However whenever I use gs to try to log, nothing gets logged. I tried using gs.log, gs.debug, and gs.info - none of them seem to work.  Please see the screen shots below of the script and test...

find_real_file.png find_real_file.png
Cory B by Kilo Expert
  • 5835 Views
  • 5 replies
  • 4 helpfuls