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