# fully qualified path of the services and document

Hi All,

Is there any way to get the fully qualified path of the service in the flow service?(it’s own path), programatically?

For Ex: During publishing a document we give documentType(Normally we hard code fully qualified path ), is there any way to avoid this kind of hard coding?

and also avoiding hardcoding of qualified path of java and flow services, any built in service available.

regards,
anil kumar e

You can use PSUtilities.misc:getServiceName to achieve that and customize it to your needs.

HTH,
RMG