# Conditinal Sequence Document

**URL:** <https://techcommunity.softwareag.com/t/conditinal-sequence-document/58481>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [April 28, 2003, 5:54pm UTC](https://techcommunity.softwareag.com/t/conditinal-sequence-document/58481 "2003-04-28T17:54:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [April 28, 2003, 5:54pm UTC](https://techcommunity.softwareag.com/t/conditinal-sequence-document/58481/1 "2003-04-28T17:54:20Z")

</div>

Hi There–  
  
Could the Sequence document can take in dynamic values at the time of  
processing. Consider a situation where in my application would like to  
process the sequence document for a particular user, identified by a  
UserID. So, in this senario I would like to send the UserID as dynamic  
value to the sequence document. Could this be possible. These values are  
something like KeyFields that should be passed in the form of a Config file  
along with the Sequence document ,to the Orchestrator gateway. The format  
for the Config file is something like this …  
  
  
 …  
  
  
Thanks and Regards,  
Ravi.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [April 30, 2003, 3:06pm UTC](https://techcommunity.softwareag.com/t/conditinal-sequence-document/58481/2 "2003-04-30T15:06:46Z")

</div>

Yes you can assign the Mediator properties dynamically.   
  
All you have to do is use the SET statement to set the relevant Mediator property of a step. For example, you want to set the mail-to property of your mailgateway. You would then add a SET just before the mailgateway step.  
  
  
  
You would have to ensure that you pass the value as a property or you would have to use the Emerger to create a property from an element or attribute in your xml doc.

---

<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/conditinal-sequence-document/58481/3 "2021-04-02T14:39:17Z")

</div>


