Not able to Excute Scheduled Job from the Script
						
					
					
				
			
		
	
			
	
	
	
	
	
Options
			
				
					
	
			
		
	- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
01-02-2024 06:57 AM
Hi All,
I need to run a Scheduled job from the Workflow(by RunScript).
I am using the below script to run my Scheduled job. but it's not working seems like 'SncTriggerSynchronizer' Method is not supported here.
var grJob = new GlideRecord('sysauto');
grJob.get('sys_id', ' ');
if (typeof SncTriggerSynchronizer != 'undefined') {
SncTriggerSynchronizer.executeNow(grJob);
//gs.info('entitlementsGK1 ' + scheduleid +'-- '+bankEntitlement);
}
		2 REPLIES 2
	
		
		
			
			
			
					
	
			Options
			
				
					
	
			
		
	- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
01-02-2024 07:11 AM
Options
			
				
					
	
			
		
	- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
01-02-2024 10:02 PM
Hello Nikhil,
Please try below code
var rec = new GlideRecord('sysauto_script');
Can you please try to glide on this table and check
Please mark useful if I have helped you
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		