 < ? 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   r o o t - n a m e = " i t e m 0 "   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 = " A 5 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 9 3 8 2 8 0 8 0 0 1 3 0 6 7 7 3 4 2 4 2 6 7 a 2 c 0 d a e 5 6 b b "     v e r s i o n = " 0 . 0 . 0 "   a p i - v e r s i o n = " 3 . 1 . 0 "   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 [ W o r k f l o w   R e f l e c t i o n ] ] > < / 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   j u s t   p r i n t s   o u t   s o m e t h i n g   a b o u t   i t s e l f . . . ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 1 8 0 . 0 '   y = ' 2 0 . 0 ' / > 
 < i n p u t > < p a r a m   n a m e = ' a n I n p u t '   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 [ J u s t   a   s t r i n g   t o   w o r k   w i t h ] ] > < / d e s c r i p t i o n > 
 < / p a r a m > 
 < / i n p u t > < w o r k f l o w - i t e m   n a m e = ' i t e m 0 '   o u t - n a m e = ' i t e m 1 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ l o o k   i n s i d e   m y s e l f   : - ) ] ] > < / 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 t   t h e   c u r r e n t   w o r k f l o w   t o k e n   / " i n s t a n c e " 
 v a r   t o k e n   =   w o r k f l o w ; 
 S y s t e m . d e b u g ( t o k e n ) ; 
 
 / / g e t   s o m e   d e t a i l s   a b o u t   t h e   c u r r e n t   w o r k f l o w   t o k e n / e x e c u t i o n / i n s t a n c e 
 S y s t e m . d e b u g ( " s t a r t D a t e :   "   +   t o k e n . s t a r t D a t e ) ; 
 S y s t e m . d e b u g ( " b u s i n e s s S t a t e :   "   +   t o k e n . b u s i n e s s S t a t e ) ; 
 S y s t e m . d e b u g ( " y o u   m i g h t   w a n t   t o   s e n d   m e   v i a   e m a i l . . . :   "   +     t o k e n . g e t A n s w e r U r l ( ) . u r l ) ; 
 
 / / g e t   t h e   W o r k f l o w - " C l a s s "   o f   t h e   c u r r e n t   t o k e n 
 v a r   r o o t W o r k f l o w   =   w o r k f l o w . r o o t W o r k f l o w ; 
 S y s t e m . d e b u g ( r o o t W o r k f l o w ) ; 
 
 / /   g e t   " d e c l a r a c t i o n " :   A r r a y   o f   I n p u t   P a r a m e t e r s   o f   t h e   w o r k f l o w   i n   g e n e r a l   
 v a r   i n P a r a m s   =   r o o t W o r k f l o w . i n P a r a m e t e r s ; 
 S y s t e m . d e b u g ( " i n P a r a m s :   "   +   i n P a r a m s ) ; 
 / / l o o p   t h r o u g h   a r r a y   a n d   p r i n t   o u t   d e t a i l s   f o r   e a c h   p a r a m e t e r 
 f o r   ( v a r   i   i n   i n P a r a m s )   { 
 	 l o o p P a r a m   =   i n P a r a m s [ i ] ; 
 	 / / p r i n t   o u t   i n   t y p e : : : n a m e : : : d e s c r i p t i o n 
 	 S y s t e m . d e b u g ( l o o p P a r a m . t y p e   +   " : : : " +   l o o p P a r a m . n a m e   +   " : : : "   +   l o o p P a r a m . d e s c r i p t i o n ) ; 
 } 
 
 / /   g e t   t h e   c u r r e n t   t o k e n ' s   i n P a r a m e t e r s   ( t h e y   i n c l u d e   t h e   v a l u e s ,   a n d   a r e   r e t u r n e d   a s   P r o p e r t i e s 
 / / ( k e y   :   v a l u e s   t u p l e s ) 
 v a r   c u r I n P a r a m s   =   t o k e n . g e t I n p u t P a r a m e t e r s ( ) ; 
 S y s t e m . d e b u g ( " c u r I n P a r a m s :   "   +   c u r I n P a r a m s ) ; 
 / / c r a w l   t h r o u g h   t h e   P r o p e r t i e s 
 v a r   k e y s   =   c u r I n P a r a m s . k e y s ; 
 f o r   ( v a r   i   i n   k e y s )   { 
 	 v a r   c u r K e y   =   k e y s [ i ] ; 
 	 / / p r i n t   o u t   p r o p e r t i e s   i n   f o r m a t   k e y   : : : :   v a l u e 
 	 v a r   c u r V a l u e   =   c u r I n P a r a m s . g e t ( c u r K e y ) 
 	 S y s t e m . d e b u g ( c u r K e y   +   "   : : : :   "   +   c u r V a l u e   ) ; 
 } ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < / 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 = ' 1 4 0 . 0 '   y = ' 1 0 0 . 0 ' / > 
 < / 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 '   t y p e = ' e n d '   e n d - m o d e = ' 0 '   > 
 < p o s i t i o n   x = ' 1 8 0 . 0 '   y = ' 1 3 0 . 0 ' / > 
 < / 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 = " a n I n p u t " > < d e s c > < ! [ C D A T A [ a n I n p u t ] ] > < / 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 >