cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
mlauer
Nintex Newbie

How to delete delegation for an other user

Jump to solution

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

Labels: (2)
0 Kudos
Reply
4 Replies
cassymfreeman
Nintex Newbie

Re: How to delete delegation for an other user

Jump to solution
Reply
mlauer
Nintex Newbie

Re: How to delete delegation for an other user

Jump to solution

3 votes from me!

Reply
mlauer
Nintex Newbie

Re: How to delete delegation for an other user

Jump to solution

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.

Reply
mlauer
Nintex Newbie

Re: How to delete delegation for an other user

Jump to solution

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