As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Hi AdeH, I am using iWay ISM 5.5(Transformer) on Windows 2003 server.
This is the original file,
<root>
<child1>ABC</child1>
<child2>123</child2>
</root>
Mapping condition is "If the string lenth of the expression root/child1 is != zero,then take the value root/child1, else take the value from root/child2".
This works fine is the file is of type above. meaning I am getting the value ABC from the above IF condition.
But when the file is like this
<root>
<child2>123</child2>
</root>
that is without the child1 element,
The If condition resolves to false and it should take value from child2,this is not happening.
So I even tried the @Exists on child1 instead of string length check on child1, but I am not getting the value of child2.
I've noticed, that sometimes the transform functions do not work as they are supposed to in the mappings.
Create two elements,map one to child1 and second to child2, encapsulate them with invisible groups and set filters to show child1 group, if child1 exists( use @EXISTS function) and hide the child2 group, if child1 exists.
iWay Service Manager (6.0.1 - patch.62627) DMC Version 7 Release 7