# Property evaluation

**URL:** <https://techcommunity.softwareag.com/t/property-evaluation/58529>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [January 13, 2004, 8:13pm UTC](https://techcommunity.softwareag.com/t/property-evaluation/58529 "2004-01-13T20:13:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ned](https://avatars.discourse-cdn.com/v4/letter/n/848f3c/32.png) [@Ned](https://techcommunity.softwareag.com/u/Ned)\
**Post date:** [January 13, 2004, 8:13pm UTC](https://techcommunity.softwareag.com/t/property-evaluation/58529/1 "2004-01-13T20:13:34Z")

</div>

I have a project where I am using Mediator to intercept SOAP documents (for various reasons) before sending them on their way via the SagHTTPGateway. I’d like to have a single sequence for this purpose and I’ve already figured out that I can set the xbd.http.request.SOAPAction from the xbd.gatewayservlet.request.soapaction on the incoming request.  
  
This is working fine for a single service with a fixed connection endpoint. What I’d like is a way to set the xbd.http.target.url property dynamically based on a **substring** of the soapaction property (namely, from the domain). Then the sequence could be used with multiple services.  
  
Can I do this easily using something like an “If” statement, or do I have to resort to an entire Emerger model? Can we use regular expressions in the value of an “If” statement?  
  
Regards,  
  
Ned  
  
_Remember to never burn bridges. Unless you drive a Hummer!_

---

<div class="post-metadata">

**Author:** ![Mike\_Bernat](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Mike\_Bernat](https://techcommunity.softwareag.com/u/Mike_Bernat)\
**Post date:** [January 14, 2004, 6:28pm UTC](https://techcommunity.softwareag.com/t/property-evaluation/58529/2 "2004-01-14T18:28:47Z")

</div>

Hi Ned,  
  
In Mediator 7.2, you would need to use the emerger to perform these types of operations.   
  
In version 7.3.1 (scheduled for availability in mid March) you will be able to set properties directly from any xpath expression, without the need to invoke the emerger. The expressions can use any xpath function (e.g. substring, concat), logical operations, and can include data from the paylaod document and from other message properties.  
  
Best regards,  
 Mike

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/property-evaluation/58529/3 "2021-04-02T14:39:19Z")

</div>

Closed on April 2, 2021, 2:39pm UTC


