How to delete delegation for an other user

  • 26 July 2017
  • 4 replies
  • 67 views

Badge +9

As a site administrator I can set tasks to be delegated for a time period for other site users. But how to delete task delegation for other user? As admin I can show delegations of an other user but in list the name field is not a hyperlink as when showing own delegations. By using hyperlink a dialog will be opened where I can hit a delete button.

Any ideas?

Kind regards

Manfred


4 replies

Badge +16

i don't think it is an option.

https://nintex.uservoice.com/forums/229405-1-nintex-workflow-for-sharepoint/suggestions/13113885-allow-administrator-to-edit-long-term-delegation-o

Hit it up with votes on user voice?

Badge +9

3 votes from me!

Badge +9

Delete is possible by using DeleteLongTermDelegationRule method of web service Workflow.asmx (see DeleteLongTermDelegationRule ).

Problem now is to get the rule id. On own rules I can see the id in hyperlink of the name field. But in list for an other user the link and the id are missing.

Badge +9

OK, Problem solved!

I could get the ID. The prerequisite is an access to the database and the permission to execute sql commands. The delegation ID can be determined via the table Delegation. With this ID (db column DelegationID), the LongTermDelegation can be deleted by method DeleteLongTermDelegationRule of web service Workflow.asmx.

URL: https://servername/_vti_bin/NintexWorkflow/Workflow.asmx
Request:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Body>
        <DeleteLongTermDelegationRule xmlns="http://nintex.com">
            <id>1081</id>
        </DeleteLongTermDelegationRule>
    </Body>
</Envelope>

Reply