var gr = new GlideRecord('sc_req_item');
gr.addQuery('number', 'RITM0106387');
gr.query();
if(gr.next()) {
var w = new Workflow();
var context = w.startFlow('67755686db2c4b004620d2c75e96191e', gr, 'insert', '');
}
gr.addQuery('number', 'RITM0106387');
gr.query();
if(gr.next()) {
var w = new Workflow();
var context = w.startFlow('67755686db2c4b004620d2c75e96191e', gr, 'insert', '');
}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.