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

Forum Posts

Random Number Generator

I am looking to create a 4 digit random number generator for a variable. Is there a specific variable type I should use? Right now I have single line variable and when I put the below script in the default value, it generates the number but there is ...

Rhane by Kilo Explorer
  • 12454 Views
  • 5 replies
  • 0 helpfuls

Resolved! Need to run a workflow through Fix script

Hi Team,We have a requirement to force run a workflow through fix script. I am new to this procedure. Could you please help me in script to run a workflow through sample script that can help me?Sample script:var wflw = new Workflow(); wflw.startFlow(...

If last login is before 90 days all roles need to be removed

Hello Experts,My requirement is if any user have not logged in for 90 days, but then there is no way for them to be able to request anything or raise an incident. I want to create a  scheduled job  so that all roles are removed except those roles snc...

raj149 by Giga Guru
  • 1625 Views
  • 4 replies
  • 1 helpfuls

Parallel tasks in Flow designer

Hi ,  I have a flow requirement for the below 1- Create a sc_task2-As per the variable value in a specific task variable , create another task but without closing task1.I tried using "Do the following in parallel" however it doesn't runs and for the ...

Resolved! Find element in array

Hi, I have a need in relation to arrays. Ex.: I have an array that always consists of 5 elements, because I have limited my GlideRecord query to 5.Array = [apple, lemon, orange, kiwi, banana]I need to find the element in position 5 (banana) and store...

Resolved! Issue with getmessage in onsubmit client script

Im using Onsubmit client script which will run on portal form widget. if (g_form.getActionName() == "sysverb_stay") { if (g_form.getValue("stage") == "12") { getMessage("please confirm you are at 'communication' stage and you are...

arey yaar by Giga Guru
  • 1812 Views
  • 3 replies
  • 4 helpfuls

How to access reference variable in Flow Designer

Hi All, I built a flow designer on catalog item and it has got a reference variable "Action" and through the defined script include 3 actions are displayed like Add, Modify & Delete. I would like to check this variable "Action" value during the appro...

manish123 by Giga Guru
  • 6022 Views
  • 3 replies
  • 1 helpfuls

Service Portal add user to watchlist widget

I am making custom widget for ticket page to add user to watchlist similar to the backend. I have been following few solution from the community. I am using sn recode picker and i want output something like in the attached image. And after adding use...

DeeptanshuSuth_0-1670289542162.png