AnsweredAssumed Answered

Regarding workflow transfer

Question asked by tims.registration on Jul 10, 2018
Latest reply on Jul 23, 2018 by Brian_Mathato

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>

Outcomes