CA Service Management

Expand all | Collapse all

Regarding workflow transfer

  • 1.  Regarding workflow transfer

    Posted Jul 10, 2018 05:58 AM

    Hi, I wanted to transfer workflow from group to analyst. I have used transfer() method of casdm web service but it is throwing an error like 'bad handle to transfer'. When I use same web service for change order or incident transfer, it works fine. Below are two methods for ref.

     

    For change order:

    <ser:transfer>
    <sid>2070878996</sid>
    <creator>cnt:U'44C6C01C40779B48B74A754431D7542A'</creator>
    <objectHandle>chg:1832122</objectHandle>
    <description>transfer test group</description>
    <setAssignee>true</setAssignee>
    <newAssigneeHandle>cnt:U'104925B1E27CDD41968C1924E7D965A7'</newAssigneeHandle>
    <setGroup>true</setGroup>
    <newGroupHandle>cnt:U'0865817E56977B4DBCFFDADA5195C4CC'</newGroupHandle>
    <setOrganization>false</setOrganization>
    <newOrganizationHandle>false</newOrganizationHandle>
    </ser:transfer>

     

    -----------------------------------------------

    For workflow transfer:

     

    <ser:transfer>
    <sid>2070878996</sid>
    <creator>cnt:U'104925B1E27CDD41968C1924E7D965A7'</creator>
    <objectHandle>wf:2839623</objectHandle>
    <description>transfer wf test</description>
    <setAssignee>true</setAssignee>
    <newAssigneeHandle>cnt:U'104925B1E27CDD41968C1924E7D965A7'</newAssigneeHandle>
    <setGroup>true</setGroup>
    <newGroupHandle>cnt:U'0865817E56977B4DBCFFDADA5195C4CC'</newGroupHandle>
    <setOrganization>false</setOrganization>
    <newOrganizationHandle>false</newOrganizationHandle>
    </ser:transfer>



  • 2.  Re: Regarding workflow transfer

    Posted Jul 10, 2018 06:58 AM

    Hi Mandar,

     

    What is the SDM version and patch level?

     

    ===

    Kind Regards,

    Brian



  • 3.  Re: Regarding workflow transfer

    Posted Jul 10, 2018 07:04 AM

    The Contact and Group handles should not contain 'U'. Remove it and re-try.



  • 4.  Re: Regarding workflow transfer

    Posted Jul 19, 2018 07:12 AM

    I need to transfer the workflow but still it is not working.  I have tried with below option, none of working. 

    cnt:U'104925B1E27CDD41968C1924E7D965A7'

    cnt:'104925B1E27CDD41968C1924E7D965A7'

    U'104925B1E27CDD41968C1924E7D965A7'

    '104925B1E27CDD41968C1924E7D965A7'

     

    To transfer the Change & Incident below format is working fine.

    cnt:U'104925B1E27CDD41968C1924E7D965A7'

     

    Can some of help with working example?



  • 5.  Re: Regarding workflow transfer

    Broadcom Employee
    Posted Jul 10, 2018 07:16 AM

    Hi Mandar,

     

    Is the problem resolved with the help of mitu response ? Do you have any additional questions on this?



  • 6.  Re: Regarding workflow transfer

    Posted Jul 16, 2018 05:32 AM

    No, problem is not yet resolved using 'U'



  • 7.  Re: Regarding workflow transfer

    Broadcom Employee
    Posted Jul 13, 2018 02:14 PM

    tims.registration 

     

    Do you have any additional questions regarding this topic?

     

    If not, please mark one of the provided answers as Correct so that this thread can be closed.



  • 8.  Re: Regarding workflow transfer

    Posted Jul 19, 2018 07:13 AM

    Give solution is not working. verify with CA Support, Still there is no answer from support.



  • 9.  Re: Regarding workflow transfer

    Posted Jul 19, 2018 07:48 AM

    Hi Mandar,

     

    Have you tried an alternative webservice method, say updateObject() to see if that could resolve your issue?

     

    ===

    Kind Regards,

    Brian



  • 10.  Re: Regarding workflow transfer
    Best Answer

    Posted Jul 20, 2018 02:50 AM

    Hi Brian,

     

    Thanks for your suggestion, My problem is resolved by using updateObject() method. I appreciate & thank you for your support.  



  • 11.  Re: Regarding workflow transfer

    Posted Jul 20, 2018 04:56 AM

    Glad I could help



  • 12.  Re: Regarding workflow transfer

    Posted Jul 20, 2018 09:21 AM

    The error is due to ticket specific method not being able to work against Workflow.

     

    changeStatus and transfer in particular.

     

    As Brian_Mathato said, you need to use updateObject.



  • 13.  Re: Regarding workflow transfer

    Posted Jul 23, 2018 05:10 AM

    We could raise an Idea for the functionality to be extended to classic workflow in future releases ;-)