Custom Delegation Form


Badge +3

Hi Team,

I have created custom delegation form. Updating workflow task list fields (AssignedTo, ApproverComments), using spservices. I am able to update those fields. But after delegation for new user, form fields are disabled and display message states  "* You are not authorized to approve this item.". Is there any solution please let me know.

Thanks,

Mohan


8 replies

Userlevel 5
Badge +14

changing AssignedTo task item field doesn't cause the task is delegated to new assignee!

so s/he's not authorized to respond

if you need to have control over task delegations you either need to call 'Delegate Workflow Task' workflow action or call 'DelegateTask' method of Workflow.asmx webservice.

https://help.nintex.com/en-US/nintex2013/help/#Workflow/RootCategory/Actions/Nintex.Workflow.DelegateTask.htm%3FTocPath%… 

https://help.nintex.com/en-US/sdks/sdk2013/#Reference/SOAP/NW_REF_SOAP_DelegateTask.htm%3FTocPath%3DNintex%2520Software%… 

Badge +3

Thank you Marian,

1st solution:

https://help.nintex.com/en-US/nintex2013/help/#Workflow/RootCategory/Actions/Nintex.Workflow.DelegateTask.htm%3FTocPath%3DWorkflow%7CWorkflow%2520Actions%7C_____35

In my scenario the solution will not work. Actually I am using "Request Approval" Task, here I have enabled delegation. Instead of SharePoint delegation form I have used my custom delegation form. 

2nd solution:

https://help.nintex.com/en-US/sdks/sdk2013/#Reference/SOAP/NW_REF_SOAP_DelegateTask.htm%3FTocPath%3DNintex%2520Software%2520Development%2520Kit%7CNintex%2520Workflow%25202013%2520Software%2520Development%2520Kit%7CNintex%2520Workflow%25202013%2520SDK%2520Reference%7CWeb%2520Service%2520Reference%7CService%2520operations%7C_____7

In my organization web services calls blocked.

Please let me know, is there any other way or what parameters need to updated using spservices call?

Userlevel 5
Badge +14

go on with first approach.

let the custom form save a 'Deletage request' to a dedicated list. configure a workflow on the list that starts when item is created. let the workflow delegate task using workflow action

Badge +3

Thank you for your continues support. As you said, I have tried below approach. Workflow Completed, but in workflow task list not updating assign to. Please let me know, is there any mistaken my end.Delegation with List

Badge +3

Thank you for your continues support. As you said, I have tried below approach. Workflow Completed, but in workflow task list not updating assign to. Please let me know, is there any mistaken my end.

Delegation with List

Below is my actual workflow image.

Main workfow

Userlevel 5
Badge +14

you seem to try to delegate task by a TaskID. 

Delegate task requires ActionID parameter to identify the task.

you have to capture respective ActionID within the Request Approval action

216473_pastedImage_1.png

Badge +3

Thank you so much solution working :-) now i got lot of confidence on delegation. once again thank you.

Userlevel 5
Badge +14

great!

please mark correct answer so that others with similar problem can benefit from it.

Reply