cancel
Showing results for 
Search instead for 
Did you mean: 

How to get type of the document

seshu
Champ in-the-making
Champ in-the-making
Any one please tell me how to get document type(not mimetype)? Is there any way to get document type in processdefinition using javascript api. I have tried using bpm_package.children.type but its not giving
[edited as following]
I am getting the value but its full qualified name. Is there any way to get only type name
1 REPLY 1

davidc
Star Contributor
Star Contributor
Currently, there's no support for querying type definitions in the javascript api, so there's no way of getting from type qname to display name.

So, for now, you could drop into java within your process definition.