Skip to main content
Nintex Community Menu Bar

How to delete delegation for an other user

  • July 26, 2017
  • 4 replies
  • 151 views

Forum|alt.badge.img+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

Forum|alt.badge.img+16

Forum|alt.badge.img+9
  • Author
  • July 26, 2017

3 votes from me!


Forum|alt.badge.img+9
  • Author
  • July 26, 2017

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.


Forum|alt.badge.img+9
  • Author
  • July 26, 2017

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>