CA Service Management

  • 1.  WebServices methods getWorkFlowTemplates

    Posted Aug 16, 2017 02:10 PM

    Hello, i trying to use this method for Requests (getWorkFlowTemplates), but only works on change order or issues, someboby has some information about this?

     

    Best regards,

     

    Fabian



  • 2.  Re: WebServices methods getWorkFlowTemplates

    Posted Aug 16, 2017 02:19 PM

    Are you using soap or rest?



  • 3.  Re: WebServices methods getWorkFlowTemplates

    Posted Aug 16, 2017 04:11 PM

    Hi...Soap!



  • 4.  Re: WebServices methods getWorkFlowTemplates

    Broadcom Employee
    Posted Aug 16, 2017 03:15 PM

    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



  • 5.  Re: WebServices methods getWorkFlowTemplates

    Posted Aug 17, 2017 02:46 AM

    Hi Fabian.

    "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:

    factory:wftpl

    whereclause :" object_type='cr' and object_attrval='<id of request area>' "

    Hope that helps

    Regards

    ..........Michael 



  • 6.  Re: WebServices methods getWorkFlowTemplates

    Posted Aug 17, 2017 06:01 AM

    Hi Fabian

     

    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...

     

    Kind Regards,

    Brian



  • 7.  Re: WebServices methods getWorkFlowTemplates

    Posted Aug 17, 2017 11:55 AM

    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