The views expressed on this blog are my own and do not necessarily reflect the views of any Organisations owning these products.I keep on doing R & D with different products in and around Middle ware stack and these posts are result of that.Most of the post are result of my own experiments or ideas taken from other blogs .If in any case You feel content is not right you can comment to remove that post. This blog uses the default features,cookies of blogspot.com
Tuesday, February 23, 2016
Generate archive file name manually in SOA Suite
In one of my project i was supposed to read large files, I implemented it using chunk reading in BPEL.
The issue i was facing in this case was the file was not getting archived, this i achieved using file move operation. However the client was very specific for the naming convention of archive file.
I tried to search for some built in commands but was not successful in generating the same so i used the following expression which generate the same file naming convention as Archive by does by default
concat(xp20:format-dateTime(xp20:current-dateTime(),'[Y0001][M01][D01]'),"_",xp20:format-dateTime(xp20:current-dateTime(),'[H01][m01][s01]'),"_",xp20:format-dateTime(xp20:current-dateTime(),'[f001]'))
1 comment:
It 's an amazing and awsome blog Thanks for sharing
Oracle SOA Online Training
Post a Comment