webMethods

 View Only
  • 1.  pub.flow:debugLog -- including variable values in messages

    Posted 19 hours ago

    I'd like to do something like create a message "header status was %/header/status%" and have the %...% string be interpolated with the value of the variable in the pipeline. Is this possible?

    Thanks in advance.



    ------------------------------
    Adam Connor
    ------------------------------


  • 2.  RE: pub.flow:debugLog -- including variable values in messages

    Posted 11 hours ago

    @Adam Connor : Yes its possible. Try it. provide more information if you are looking for something else.



    ------------------------------
    Vivek Kanojia
    ------------------------------



  • 3.  RE: pub.flow:debugLog -- including variable values in messages

    Posted 5 hours ago

    Hi Adam,

    If your intention is to just log the value of header/status field using debugLog service field then hardcoding the input message as %header/status% with Perform Pipeline Varible option being checked in the checkbox should work fine provided header/status field is available in the pipeline at that step

    But say status is 200 and you want the message to be written as %200% i.e, including the % in the log message then I am not sure how this can be achieved.



    ------------------------------
    Kailash Kumar Mishra
    ------------------------------



  • 4.  RE: pub.flow:debugLog -- including variable values in messages

    Posted an hour ago

    Thanks, I got it. My problem was two-fold: 1) I was missing the fact that I had to check a checkbox (weird, but oh well), and 2) my flow had dropped the variable at a point about the else branch.

    Not in love with the soup of global variables, but again, oh well.



    ------------------------------
    Adam Connor
    ------------------------------



  • 5.  RE: pub.flow:debugLog -- including variable values in messages

    Posted 20 minutes ago

    Hi Adam,

    Glad that the shared information helped and you were able to work your way out.



    ------------------------------
    Kailash Kumar Mishra
    ------------------------------



  • 6.  RE: pub.flow:debugLog -- including variable values in messages

    Posted 2 hours ago

    What issue are you facing?



    ------------------------------
    - Chirag
    ------------------------------