Hi,
How can I get the job id of a job's own?
Thanks,
Xiaoli
			
									
						get job id of its own
Moderators: Jon, Steve, Ian, Dave
- 
				
				xren
 - Ebase User
 - Posts: 272
 - Joined: Fri Dec 14, 2012 2:55 pm
 - Location: Ottawa
 
- 
				
				Jon
 - Moderator

 - Posts: 1342
 - Joined: Wed Sep 12, 2007 12:49 pm
 
It's in system variable $JOB_ID i.e.
			
									
						Code: Select all
var jobId = system.variables.$JOB_ID.value;
	0 x
	
			
						- 
				
				xren
 - Ebase User
 - Posts: 272
 - Joined: Fri Dec 14, 2012 2:55 pm
 - Location: Ottawa
 
- 
				
				xren
 - Ebase User
 - Posts: 272
 - Joined: Fri Dec 14, 2012 2:55 pm
 - Location: Ottawa
 
- 
				
				Jon
 - Moderator

 - Posts: 1342
 - Joined: Wed Sep 12, 2007 12:49 pm
 
I think mostly they are pretty obvious and do what you would expect - see http://www.ebasetech.com/ebase/doc/Work ... c417392058 for more details
			
									
						
	0 x
	
			
						Who is online
Users browsing this forum: No registered users and 12 guests