Biztalk Jscript Scripting Functoid Not Holding Value
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Biztalk Jscript Scripting Functoid Not Holding Value




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Biztalk Jscript Scripting Functoid Not Holding Value  
Angela


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-29-05 10:58 PM

Hi,

I have built a scripting functiod for this looping problem:

line 1
line 1
line 1
line 2
line 2
line 3

The output should look like:

line 1
line 2
line 3

All of my looping and summarization for each line is working well in the
Biztalk map.  The jscript scripting functoid is running error free.  Just to
make sure the inputs are numbers(comparing apples to apples) I built a
scripting functoids to make sure the inbound line numbers are number i.e.
line1 = Number(line1).

Within the primary scripting functoid I define a hold variable (i.e. var
line_hold = Number(line_hold).

Then after the first loop iteration I make line1 = line_hold.

On the next iteration of the loop, I check to see if the next line 1 is = to
line_hold....line_hold - is not ever holding the previous iterations value.
Therefore the comparison is always not equal and the summarization of the
line 1 lines is not working.

Any ideas on why the line_hold value is not holding the previous loop's valu
e?

Thanks....






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:52 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register