Is there any way we can count number of lines in a document?
If it is a flat file document and each line is a record, you can map a field of the record into a count function in a map shape.
Hope this helps!
**If the post solves your problem, mark it as "Correct Answer".**You can say "Thank you" by clicking the "star" in the post that helped you.
I have xml document as input
I'm noob, but, wild guess, perhaps, create a custom function that has a uses a 'dynamic' process (or document) to 'count' within a map shape?
If you need to count the lines of the xml document you may need to use a groovy script.
If you need to count repeating elements, you just need to map a field from the repeating element to a count function on the map shape.
This perfectly helps you:
How to get the document count and set it as a process property
Please mark this ac correct If this resolves your issue.
Happy Exploring Boomi.
without using scripting also we can get count, Please try it once.
Retrieving data ...