Hi Peter,
this should be quite an easy task with the time stamp utility service:
Get the current date:
<operation name="Timestamp Utility">
<participant name="TimestampUtilService"/>
<output message="TimestampUtilServiceTypeInputMessage">
<assign to="action">current_time</assign>
<assign to="format">yyyyMMdd</assign>
</output>
<input message="inmsg">
<assign to="current_datetime" from="time/text()" append="true"/>
</input>
</operation>
Then concat with some substring (I didn't check this so if all the xpath are correct, but you get what I want here I guess):
<assign name="Assign" to="/ProcessData/server_path" from="concat('/server/',substring(string(/ProcessData/current_datetime),0,4),'/',substring(string(/ProcessData/current_datetime),4,2),'/',substring(string(/ProcessData/current_datetime),6,2),'/')"/>
Best regards
Manuel
------------------------------
Manuel Frank
Integration Architect
Andreas STIHL AG & Co. KG
Waiblingen
------------------------------