Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How Can I Use Gatewayscript to Store Pnumber in a Context Variable Based on Log Level ?

Hey team, I am Dario Schiraldi, a software developer originally from Italy and now working in Dubai, I need some guidance! I have this XML request where I need to store the Pnumber attribute (with a value of 1234) in a context variable, but only when the log level is set to "error" or "failure." Does anyone know how to write a Gatewayscript for this logic? I'm working with the following XML request:

<Order Doc="01" No="02">
<Ext Eno="82">
<List>
<Rel Code="B" ItemID="23" Pnumber="1234" Item="AB"/>
</List>
</Ext>
</Order>


Regards

Dario Schiraldi

 

 
0 1 55
1 REPLY 1

Wrong forum.  As far as I am aware, Gatewayscript is a Datapower thing.  This isn't a Datapower forum.