Can everyone tell me how to set up the system account to Flexi Task? I have workflow and there I assign Flexi Task to someone. Flexi task still running and I can set response from web application and with another workflow I want to set Flexi Task to Approve status by web service and method (ProcessFlexiTaskResponse2) but there is a problem that Flexi Task is not set up because it is called by system account under web service and the web service request status is "Invalid User".
Can everyone fix the problem?
Thanks so much
Solved! Go to Solution.
I had this same issue a while back. The problem is that unless the user trying to close the task is the same user assigned to it, it won't work. You'd need to reassign the task to the system account first, then you could close it. If you don't want to reassign the task, then you may want to review this post. Someone in the comments posted code for their own function they wrote to get around this. You could also look at using the Flex-Task Escalation options depending on your scenario.
Brendan is completely right, this is the approach you have to choose, but what's the requirement behind your question, maybe you can auto escalate the task to the system account after a specific time period and then respond to it via the system account?
Thank you for your reply. I read it in your discussion which you mentioned above. Please could you tell me how can I it reasign the task? And If I reasign or delegate it and the system account respond the task, will SharePoint send the notification to user that the answer is no longer required? That's undesirable. I need that system would approve the task and don't send a notification.....is that possible?
Thanks so much for your reply.