 < ? x m l   v e r s i o n = " 1 . 0 "   e n c o d i n g = " I S O - 8 8 5 9 - 1 "   s t a n d a l o n e = " y e s " ? > 
 < w o r k f l o w   x m l n s = " h t t p : / / v m w a r e . c o m / v c o / w o r k f l o w "   x m l n s : x s i = " h t t p : / / w w w . w 3 . o r g / 2 0 0 1 / X M L S c h e m a - i n s t a n c e "   x s i : s c h e m a L o c a t i o n = " h t t p : / / v m w a r e . c o m / v c o / w o r k f l o w   h t t p : / / v m w a r e . c o m / v c o / w o r k f l o w / W o r k f l o w - v 4 . x s d "   r o o t - n a m e = " i t e m 1 "   o b j e c t - n a m e = " w o r k f l o w : n a m e = g e n e r i c "   i d = " 9 7 d 1 a e f 6 - c 0 8 6 - 4 c 1 4 - b a 1 7 - 7 a a 4 7 6 0 a d 8 9 5 "     v e r s i o n = " 0 . 0 . 1 "   a p i - v e r s i o n = " 3 . 1 . 0 "   a l l o w e d - o p e r a t i o n s = " v f e "   r e s t a r t M o d e = " 1 "   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ R e a d   c o m p l e t e   w o r k s h e e t   f r o m   E x c e l   f i l e ] ] > < / d i s p l a y - n a m e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ T h i s   w o r k f l o w   r e a d s   a l l   c o l u m n s   o f   a   g i v e n   w o r k s h e e t   i n   a n   E x c e l   f i l e ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 1 0 0 . 0 '   y = ' 5 0 . 0 ' / > 
 < i n p u t > < p a r a m   n a m e = ' s o u r c e F i l e '   t y p e = ' s t r i n g '   > 
 < d e s c r i p t i o n > < ! [ C D A T A [ F u l l   p a t h   a n d   f i l e n a m e   o f   t h e   E x c e l   f i l e   t o   r e a d   ( v C O   s e r v e r   m u s t   h a v e   r i g h t s   t o   r e a d ) .   E . g .   / t m p / b u i l d s h e e t . x l s ] ] > < / d e s c r i p t i o n > 
 < / p a r a m > 
 < p a r a m   n a m e = ' w o r k s h e e t N a m e '   t y p e = ' s t r i n g '   > 
 < d e s c r i p t i o n > < ! [ C D A T A [ N a m e   o f   t h e   w o r k s h e e t   i n   t h e   f i l e   t o   r e a d   f r o m ] ] > < / d e s c r i p t i o n > 
 < / p a r a m > 
 < p a r a m   n a m e = ' i s L o g D a t a '   t y p e = ' b o o l e a n '   > 
 < d e s c r i p t i o n > < ! [ C D A T A [ P r i n t   o u t   t h e   c o n t e n t   o f   t h e   w o r k s h e e t   t o   S y s t e m . l o g ( ) ? ] ] > < / d e s c r i p t i o n > 
 < / p a r a m > 
 < / i n p u t > < o u t p u t > < p a r a m   n a m e = ' w o r k s h e e t C o n t e n t '   t y p e = ' A r r a y / P r o p e r t i e s '   > 
 < d e s c r i p t i o n > < ! [ C D A T A [ c o m p l e t e   c o n t e n t   o f   t h e   w o r k s h e e t ] ] > < / d e s c r i p t i o n > 
 < / p a r a m > 
 < / o u t p u t > < a t t r i b   n a m e = ' a l l C o l u m n N a m e s '   t y p e = ' A r r a y / s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ a l l   c o l u m n   n a m e s   i n   t h e   w o r k s h e e t ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' t e m p W o r k s h e e t C o n t e n t '   t y p e = ' A r r a y / P r o p e r t i e s '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ c o m p l e t e   d a t a   o f   t h e   w o r k s h e e t ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 0 '   t y p e = ' e n d '   e n d - m o d e = ' 0 '   > 
 < p o s i t i o n   x = ' 8 4 4 . 5 '   y = ' 4 5 . 4 0 9 0 9 0 9 0 9 0 9 0 9 1 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 '   o u t - n a m e = ' i t e m 2 '   t y p e = ' t a s k '   s c r i p t - m o d u l e = ' c o m . v m w a r e . c o e . s q l s h e e t / g e t C o l u m n N a m e s '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ g e t C o l u m n N a m e s ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / / A u t o   g e n e r a t e d   s c r i p t ,   c a n n o t   b e   m o d i f i e d   ! 
 a c t i o n R e s u l t   =   S y s t e m . g e t M o d u l e ( " c o m . v m w a r e . c o e . s q l s h e e t " ) . g e t C o l u m n N a m e s ( s o u r c e F i l e , w o r k s h e e t N a m e )   ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' s o u r c e F i l e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = " s o u r c e F i l e "   > < d e s c r i p t i o n > < ! [ C D A T A [ F u l l   p a t h   a n d   f i l e   n a m e   o f   t h e   E c x e l   f i l e   ( m u s t   b e   a c c e s s i b l e   b y   v C O ) ,   e . g .   / t m p / b u i l d s h e e t . x l s ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' w o r k s h e e t N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = " w o r k s h e e t N a m e "   > < d e s c r i p t i o n > < ! [ C D A T A [ N a m e   o f   t h e   w o r k s h e e t   i n s i d e   t h e   E x c e l   f i l e ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' a c t i o n R e s u l t '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = " a l l C o l u m n N a m e s "   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ T h i s   A c t i o n   r e t u r n   a n   a r r a y   c o n t a i n i n g   a l l   c o l u m n   n a m e s   o f   t h e   g i v v e n   w o r k s h e e t   i n   t h e   g i v e n   E x c e l   f i l e ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 2 0 4 . 5 '   y = ' 5 5 . 4 0 9 0 9 0 9 0 9 0 9 0 9 1 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 2 '   o u t - n a m e = ' i t e m 4 '   t y p e = ' t a s k '   s c r i p t - m o d u l e = ' c o m . v m w a r e . c o e . s q l s h e e t / r e a d D a t a F o r C o l u m n s '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ r e a d D a t a F o r C o l u m n s ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / / A u t o   g e n e r a t e d   s c r i p t ,   c a n n o t   b e   m o d i f i e d   ! 
 a c t i o n R e s u l t   =   S y s t e m . g e t M o d u l e ( " c o m . v m w a r e . c o e . s q l s h e e t " ) . r e a d D a t a F o r C o l u m n s ( s o u r c e F i l e , w o r k s h e e t N a m e , c o l u m n N a m e s T o R e a d )   ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' s o u r c e F i l e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = " s o u r c e F i l e "   > < d e s c r i p t i o n > < ! [ C D A T A [ F u l l   p a t h   a n d   f i l e   n a m e   o f   t h e   E c x e l   f i l e   ( m u s t   b e   a c c e s s i b l e   b y   v C O ) ,   e . g .   / t m p / b u i l d s h e e t . x l s ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' w o r k s h e e t N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = " w o r k s h e e t N a m e "   > < d e s c r i p t i o n > < ! [ C D A T A [ N a m e   o f   t h e   w o r k s h e e t   i n s i d e   t h e   E x c e l   f i l e ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' c o l u m n N a m e s T o R e a d '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = " a l l C o l u m n N a m e s "   > < d e s c r i p t i o n > < ! [ C D A T A [ L i s t   c o n t a i n i n g   t h e   c o l u m n   n a m e s   t o   r e a d ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' a c t i o n R e s u l t '   t y p e = ' A r r a y / P r o p e r t i e s '   e x p o r t - n a m e = " t e m p W o r k s h e e t C o n t e n t "   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ T h i s   A c t i o n   r e t u r n   a n   a r r a y   o f   P r o p e r t i e s   c o n t a i n i n g   a l l   r o w s   o f   t h e   g i v e n   w o r k s h e e t   i n   t h e   g i v e n   E x c e l   f i l e   a s   P r o p e r t i e s   o b j e c t   w i t h   k e y   =   c o l u m n N a m e   a n d   v a l u e   =   c e l l   c o n t e n t ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 3 8 5 . 0 '   y = ' 5 5 . 9 0 9 0 9 0 9 0 9 0 9 0 9 1 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 3 '   o u t - n a m e = ' i t e m 0 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ c o p y   t o   o u t p u t   p a r a m e t e r ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ w o r k s h e e t C o n t e n t   =   t e m p W o r k s h e e t C o n t e n t ; 
 
 ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' t e m p W o r k s h e e t C o n t e n t '   t y p e = ' A r r a y / P r o p e r t i e s '   e x p o r t - n a m e = " t e m p W o r k s h e e t C o n t e n t "   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' w o r k s h e e t C o n t e n t '   t y p e = ' A r r a y / P r o p e r t i e s '   e x p o r t - n a m e = " w o r k s h e e t C o n t e n t "   > < / b i n d > 
 < / o u t - b i n d i n g > < p o s i t i o n   x = ' 6 6 4 . 5 '   y = ' 5 5 . 4 0 9 0 9 0 9 0 9 0 9 0 9 1 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 4 '   o u t - n a m e = ' i t e m 6 '   t y p e = ' c o n d i t i o n '   a l t - o u t - n a m e = ' i t e m 3 '   c o m p a r a t o r = ' 0 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ l o g   w o r k s h e e t   c o n t e n t ? ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / / G e n e r a t e d   b y   t h e   s y s t e m ,   c a n n o t   b e   e d i t e d 
 r e t u r n   ( i s L o g D a t a   = =   t r u e )   ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' i s L o g D a t a '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = " i s L o g D a t a "   > < / b i n d > 
 < / i n - b i n d i n g > < c o n d i t i o n   n a m e = ' i s L o g D a t a '   t y p e = ' b o o l e a n '   c o m p a r a t o r = ' 0 ' > < ! [ C D A T A [ f a l s e ] ] > < / c o n d i t i o n > 
 < p o s i t i o n   x = ' 5 2 4 . 5 '   y = ' 4 5 . 4 0 9 0 9 0 9 0 9 0 9 0 9 1 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 6 '   o u t - n a m e = ' i t e m 3 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ p r i n t   o u t   w o r k s h e e t   c o n t e n t ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ S y s t e m . l o g ( " C o n t e n t   o f   w o r k s h e e t   ' "   +   w o r k s h e e t N a m e   +   " '   o f   f i l e   ' "   +   s o u r c e F i l e   +   " ' : " ) ; 
 f o r   e a c h   ( v a r   r o w   i n   t e m p W o r k s h e e t C o n t e n t )   { 
 	 S y s t e m . l o g ( " = = = = =   N e w   r o w   = = = = = " ) ; 
 	 f o r   e a c h   ( v a r   k e y   i n   r o w . k e y s )   { 
 	 	 S y s t e m . l o g ( k e y   +   " : : "   +   r o w . g e t ( k e y ) ) ; 
 	 } 
 } 
 
 	 ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' s o u r c e F i l e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = " s o u r c e F i l e "   > < / b i n d > 
 < b i n d   n a m e = ' w o r k s h e e t N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = " w o r k s h e e t N a m e "   > < / b i n d > 
 < b i n d   n a m e = ' t e m p W o r k s h e e t C o n t e n t '   t y p e = ' A r r a y / P r o p e r t i e s '   e x p o r t - n a m e = " t e m p W o r k s h e e t C o n t e n t "   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < / o u t - b i n d i n g > < p o s i t i o n   x = ' 5 2 5 . 0 '   y = ' 1 1 9 . 0 4 5 4 5 4 5 4 5 4 5 4 5 3 ' / > 
 < / w o r k f l o w - i t e m > 
 < p r e s e n t a t i o n > 
 < p - p a r a m   n a m e = " s o u r c e F i l e " > < d e s c > < ! [ C D A T A [ F u l l   p a t h   a n d   f i l e n a m e   o f   t h e   E x c e l   f i l e   t o   r e a d   ( v C O   s e r v e r   m u s t   h a v e   r i g h t s   t o   r e a d ) .   E . g .   / t m p / b u i l d s h e e t . x l s ] ] > < / d e s c > 
 < / p - p a r a m > 
 < p - p a r a m   n a m e = " w o r k s h e e t N a m e " > < d e s c > < ! [ C D A T A [ N a m e   o f   t h e   w o r k s h e e t   i n   t h e   f i l e   t o   r e a d   f r o m ] ] > < / d e s c > 
 < / p - p a r a m > 
 < p - p a r a m   n a m e = " i s L o g D a t a " > < d e s c > < ! [ C D A T A [ P r i n t   o u t   t h e   c o n t e n t   o f   t h e   w o r k s h e e t   t o   S y s t e m . l o g ( ) ? ] ] > < / d e s c > 
 < / p - p a r a m > 
 < / p r e s e n t a t i o n > < / w o r k f l o w >