Substitution for characters

Dear all,
I holp someone can help me with my probplem.
I chek a fild with a branch. Unfortunately the fist three characters are variables. I just know the last four.
Example XXXDENN
The XXX can Change.

How can I chek this in a branch? With “?” or “*” or something different?

Unfortunately our development system is still handling our mass update.
Programming and testing is very slow at this time.

Thanks for your help.

Regards,

Dennis

Using regular expression \DENN\ should work

Chris,
more details please.
I use a branch with two sequences for the label.
Statement: %PRCTR% == \DENN\ is not working.
PRCTR is the field

Sorry, I’m very stupid. Please tell me the complete statement.

Thanks

Dennis, try:

%PTRCTR% = /DENN\Z/

I didn’t test this but according to the developer’s guide it should work.
Have a look at Appendix B: Regular Expressions in the webMethod’s Developers User Guide (\webMethods6\Developer\doc\ISDeveloperGuide.pdf)

Regards,

Wayne

Dennis,

What Wayne is suggesting is actually working in your case since your string ends with DENN.  What Chris was suggesting works also but you have to use /DENN/ instead of \DENN\ but it will actually evaluate that the substring DENN is anywhere in the string.   

Regards,

Mathieu

Dennis,

%PRCTR% = \DENN$\ will work also

regards

Hai all

After i publishing the document to broker i am getting following error

com.wm.app.b2b.server.ServiceException: [ISS.0098.9014] BrokerException: Unknown Document Type (226-1490): Document type ‘wm::offline::EDIFFSchema::X12::V4010::T860DT’ is not defined in the Broker.
how do i define the document in the broker…

thanks in advance

regards
ramesh

Ramesh,

Click on the T850DT document and look the tab called publish properties and select it as a publishable document to Broker by doing this document will be stored in the broker and then only publish works.

HTH,
RMG

Hi Ramesh, some tips on using the wmusers forums:

Please try and post your problems, solutions, thoughts, etc… in the appropriate forum. If you follow this thread, you will see it is dealing with a specific problem (Substitution for characters).
Remember to first search the forums to see if anyone has had the same problem as you. Hopefully you will find the solution too.
If not, then try to post your question to the appropriate forum.
Your problem really belongs in the forum:
Enterprise Broker » Development Feedback OR
Integration Server & Trading Networks » Flow and Java services

Regards,
Wayne