Highlighted
New Member.
311 views

Correlation

Could you please help me correlate the following values in my script, I have tried correlating and it is failing:

"Name=acct", "Value=Kig4O01QP1tPV09cS1VQICAK", ENDITEM,
 "Name=prem", "Value=KilIJ0JRP19OV09UT1VQICAK", ENDITEM,


See the script below:

web_submit_data("way_xlaunch.cfm_2", 
        "Action=https://alatest2.com/apps/outage/way_xlaunch.cfm?csType=elec", 
        "Method=POST", 
        "TargetFrame=", 
        "RecContentType=text/html", 
         "Referer=https://alatest2.com/wess/wess_hook.cfm?CFID=1037&CFTOKEN=66863157", 
        "Snapshot=t10.inf", 
        "Mode=HTML", 
        ITEMDATA, 
         "Name=acct", "Value=Kig4O01QP1tPV09cS1VQICAK", ENDITEM, 
         "Name=prem", "Value=KilIJ0JRP19OV09UT1VQICAK", ENDITEM,
         "Name=status", "Value=ITJQICAK", ENDITEM,
        "Name=idmode", "Value=JDo7MS5CQCAgCg==", ENDITEM, 
        EXTRARES, 
        "Url=/ala_tst11/images/header.jpg", "Referer=https://alatest2.com/apps/outage/cstt.cfm?CFID=1037&CFTOKEN=66863157", ENDITEM,
         LAST);

0 Likes
1 Reply
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Correlation

Hi

Correlation is about taking input from previos server responses and use them in following replies.

This means that you need to read out the values with one of the web_reg_save_param versions available. Then the dynamic value should be replaced with {correlation_parameter} in the call.

In your code example I can't see any dynamic value being used or the definition of the correlation parameter. Also to help you need to say what is not working, a picture or errormessage will help.

 

  

.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.