Hi all,am having flow which makes user active false but there is business rule for some condition it’s making user active true, is there any way I can way that I can stop the business rule while my flow designer executes instead making business rule ...
Hi All, We have a catalog item which is to remove user from all groups and for that we need to user Flow Designer, am new to Flow designer, please help me with this. we have Reference Variable with that we can select user.
Hi charan,
try this in schedule job
var gr = new GlideRecord('incident');
gr.addEncodedQuery('state=6^resolved_atONlastmonth@javascript:gs.beginningOfLastMonth()@javascript: gs.endOfLastMonth()');
gr.Query();
while(gr.next())
{
gr.state='7';
gr.work_...
var gr = new GlideRecord('incident');gr.addQuery('active','true');gr.orderByDesc('sys_created_on');gr.setLimit(10);gr.query();while(gr.next()){gs.log("The active recprds"+ :gr.number);}
hi please try this
var gr = new GlideRecord('incident');gr.addQuery('active','true');gr.orderByDesc('sys_created_on');gr.setLimit(10);gr.query();while(gr.next()){gs.log("The active records:"+ gr.number);}