I think you mean “subscribing” instead of “publishing.”
Mark, I know you know that triggers have nothing to do with publishing.

“My requirement s we have to subscribe the document only minimum no.of.times even though the document was published more no.of.times.”
Perhaps it is a language issue, but this “requirement” makes no sense at all to me. Can you try rewording what you need to do?
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods