Highlighted
New Member.
219 views

Correlation Help

Hello All,

   I am facing issue with correlating some values.

Log Message:  

task-instance%2F60104648dc7511e5c5d20000002f08d3</d:InstanceID><d:TaskDefinitionID>bpm%3A%2F%2Fbpm.sap.com%2Ftask-model%2Fe03d847135c71960f3aa11e3cd0b6036ddd71c03</d:TaskDefinitionID><d:TaskDefinitionName>Basic Data</d:TaskDefinitionName><d:TaskTitle>P_52437M

In the above log, i want to capture "60104648dc7511e5c5d20000002f08d3" and "52437" is changing. I have tried below options but no luck.  

 

    web_reg_save_param("CorrelationParam",
        "LB=task-instance%2F",
        "RB/IC/DIG=</d:InstanceID><d:TaskDefinitionID>bpm%3A%2F%2Fbpm.sap.com%2Ftask-                model%2Fe03d847135c71960f3aa11e3cd0b6036ddd71c03</d:TaskDefinitionID><d:TaskDefinitionName>Basic Data</d:TaskDefinitionName><d:TaskTitle>P_####M",
        "NotFound=Warning",
        "ORD=All",
        LAST);
    
    web_reg_save_param("CorrelationParam",
        "LB/ALNUMIC=task-instance%2F",
        "RB/ALNUMIC=</d:InstanceID><d:TaskDefinitionID>bpm%3A%2F%2Fbpm.sap.com%2Ftask-model%2Fe03d847135c71960f3aa11e3cd0b6036ddd71c03</d:TaskDefinitionID><d:TaskDefinitionName>Basic Data</d:TaskDefinitionName><d:TaskTitle>P_^^^^M",
        //"NotFound=Warning",
        "ORD=All",
        LAST);
    
    web_reg_save_param("CorrelationParam",
        "LB/IC/DIG=task-instance%2F",
        "RB/IC/DIG=</d:InstanceID><d:TaskDefinitionID>bpm%3A%2F%2Fbpm.sap.com%2Ftask-model%2Fe03d847135c71960f3aa11e3cd0b6036ddd71c03</d:TaskDefinitionID><d:TaskDefinitionName>Basic Data</d:TaskDefinitionName><d:TaskTitle>P_####M",
        //"NotFound=Warning",
        //"ORD=All",
        LAST);
    

But the below function return the expected value


    web_reg_save_param("BD_Instance_Id_New3",
        "LB=task-instance%2F",
        "RB=</d:InstanceID><d:TaskDefinitionID>bpm%3A%2F%2Fbpm.sap.com%2Ftask-model%2Fe03d847135c71960f3aa11e3cd0b6036ddd71c03</d:TaskDefinitionID><d:TaskDefinitionName>Basic Data</d:TaskDefinitionName><d:TaskTitle>P_",
        "NotFound=Warning",
        //"ORD=All",
        LAST);

Appreciate your help !!

Thanks,
Nan Raso
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.