I have a task list where anyone can post a suggestion for a blog. There is a string field for the status.
I have a library where the author can upload the blog article when ready to send for review. Uploading the document triggers the workflow to start. This document is reviewed twice and when the author is satisfied it will go for translation and then for web publication.
All of this is worked out in the workflow except for one thing: I would like to update the task list at each stage of the process to the current status. Since it can all be done programmatically, I don't need to use a "choice" field. The string field would be just fine. One of the things I saw in my research is that "choice" fields won't update.
I have put a lookup field in the blog article library to correspond with the title in the task list to create a relationship.
First of all, is it possible to do to update a task from a document library, or am I just spitting in the wind? If so, why doesn't it work?
It is certainly possible to update tasks through a workflow. If you need to know why it doesn't work in your instance, I would encourage you to open a support case with the Microsoft SharePoint Support team. An engineer would then be assigned to scope the issue, investigate, and perform active troubleshooting as required to help resolve the issue for you.
- Proposed as answer by vjwilliamMicrosoft employee Friday, June 07, 2013 10:12 AM
which specific field you want to update after task approval. Did you create a content type based on workflow task (SharePoint 2013) and associated that particular content type with your task list?
I repeat my question - do you want to update task list after the task execution or just after assignment?
If its just after assignment then I think its not possible OOB and if its after the execution of the task then its doable OOB since there are two variables set as task out i.e. task outcome and TaskID (guid of the current task list item) and from that TaskID you can lookup the task list item and update any field.