Hello, i trying to use this method for Requests (getWorkFlowTemplates), but only works on change order or issues, someboby has some information about this?
Are you using soap or rest?
Fabian, I don't think this soap method work for requests. This is the copy from the Tech Ref Guide"
Returns all the workflow templates associated with the category of a change order or issue.
" Thanks _Chi
"getWorkFlowTemplates" seems to be only a convinient method to get the list of templates "easaly" from a given chg/iss category.
Nevertheless, you should be able to get the same infomation using doSelect:
whereclause :" object_type='cr' and object_attrval='<id of request area>' "
Hope that helps
Now that Requests can use classic workflow, the 'getWorkFlowTemplates' method should ideally be enhanced to work for R\I\P tickets.
Perhaps you should log a Support case and Idea...
The truth is that SOAP is fading away and REST is taking its place. SOAP is very old technology, where as REST is new and lot more effective. If anything I would say we should look into having REST methods added for this.
Thats my 2 cents
Retrieving data ...