vpachpute1
8 years agoFrequent Contributor
To send sub ID from prev response -1
Hi I have one scenario. In purchase, I get subscription-id in response. e.g. If my subscripton-id is 78, there is one more sub with id 77 in DB So I have to pass sub-id as 77 for further ...
- 8 years ago
Please see if the below helps.
<subscription-id>${= (${Preconsition - Puchase pAlt#ResponseAsXml}${Preconsition - Puchase #ResponseAsXml#//response[1]/subscription-id[1]} as Integer) -1}</subscription-id>