Can't retrieve approval status in Globally Reusable Workflow (Approval - Sharepoint 2010)

For day's i am trying to implement the following in one of the standard, out of the box, Globally Reusable Workflow with Sharepoint Designer 2010:
If Current Item:Approval Status not equals 0:#Approved Start Approval Workflow Task process on Current Item with Parameter:Approvers Else //Nothing
This is to prevent that a workflow is started if the item is already approved! The strange thing is, a buddy of mine has also Sharepoint 2010 and he can select in the DropDown list -Current Item: -> Approval Status..
But the only things I can select are the following:
Content Type
Created By
ID
Modified
Modified By
Title
I don't understand what is going wrong! What am i forgetting to configure or bind or set?

I have found the solution!
I have setup an test environment, Sharepoint 2013 on MS Server 2008R2 and installed Sharepoint Designer 2013. When I now edit the default out of the box "Approval - Sharepoint 2010", if you enter the condition "if current item field equals value", you can
now select "Approval Status"!!
So this means that it IS available after all! After a lot of trying, searching, this is the solution in a Sharepoint 2010 environment, installed on MS Server 2008R2:
Edit the (global or copied version if you want) workflow.
Add the condition "if current item field equals value" as a step.
Select from the item field: Content Type
Click on "equals" and change it to "not equals"
Then click on the condition and enter manually the following: 0;#Approved
Move the task "Start Approval Workflow Task..." up so it is a part of the condition "If.. "
Add an Else condition
Enter here your custom action or log to show the user that the Task is not performed.
Save the workflow.
We now have to manually edit the Workflow Rules file.
In Sharepoint Designer 2010, click at the left side of the ribbon on "All Files".
If you have created a custom workflow, you can find the "Workflow.xoml.rules" file, in the folder
Workflows/"Your custom workflow"/"CustomWorkflow.xoml.rules".
If you are using the global, out of the box Workflow, you can find the .rules file in:
_catalogs/wfpub/Approval - SharePoint 2010/ReviewApproval_1033.xoml.rules
Click on the file, then in the next screen click on "Edit file" under Customization. 4.Search for the string "ContentType" 5.When you have found the string, it looks a bit like this:
ns1:String xmlns:ns1="clr-namespace:System;Assembly=mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">ContentType ns1:String
(When you look a few lines below this line, you see your added condition 0;#Approved)!
6.Replace the string ContentType with: _ModerationStatus 7.Save the file! 8.Open in the current directory the "Workflow.xoml" file (this is the workflow itself) 9. Click on the Save button, it will give you a notice:
A more recent version of _catalogs/wfpub/Approval - SharePoint 2010/ReviewApproval_1033.xoml.rules has been saved to the server by "user" on 1/5/2014 10:50 AM.
Do you want to replace this with your file?
Click NO! (Important, otherwise it will replace it with the default rules file, and nothing has changed!)
Close Sharepoint Designer 2010, reopen SPD2010 and go to the workflow.
Edit the workflow and you'll see the following now:
"If Current Item: equals 0;#Approved"
The field Content Type is now gone! This is correct so don't worry!
Publish the workflow and you are done!
Check now on a library that has a link to the edited workflow, when you start a new Workflow on a Approved-Major version of the document, what the outcome is:
The workflow is discarded because of the condition and nothing happened, so your document stays on the most recent Approved-Major version and is not published back to a previous version number!!
Conclusion: I think that the Sharepoint 2010 Designer, is missing that specific "Approval Status" field, but with the solution i have just given, you can solve this!
C# for the win!

Similar Messages

  • Publish changes done in globally reusable workflow

    Hello Everyone,
    I have a content type on root site in site collection, and that content type is used in form library that resides in around 2000 sub sites of the same site collection.
    On the content type in root site, I have created globally reusable workflow. So my question is whenever i make changes in workflow on root site and publish those changes, does those changes get propagated to all sub sites automatically or something more
    needs to be done to propagate changes to content type in form library in sub sites?
    Thanks in advance.

    Hi,
    From your description, I have done a test in my SharePoint 2010:
    Created a content type named workflow on root site in site collection.
    Created a globally reusable workflow based on the workflow content type and set a column of the content type to a value.
    Then I created a workflow based on the globally reusable workflow in the sub site, the change was displayed in the sub site content type. 
    Per my test, I come to a conclusion that when I change a content type in the root site collection, those changes get propagated to all sub sites automatically.
    If I misunderstanding your issue, Please don't hesitate to let me know.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How can I fix a dbwrap.exe error that prevents a SharePoint 2010 installation?

    Every time I attempt to install SharePoint 2010 on my Windows 7 64-bit laptop I get the following error in the setup log:
    'dbwrap.exe' failed with error code: -2068578304. Type: 8::CommandFailed.
    The installation aborts.  I need more information.  How do I fix this problem?J Tom Kinser

    thank you so much Yuming.
    I get the same issue while installing Sharepoint on Win 7. I check out error logs and get to know it's SQL Server Express issue.
    First I found this in DBWrapLog log:
    INF:0:Cannot find sql express instance. Do fresh install.
    INF:0:Try to install SQL Express.
    INF:0:Entering function RunCommand
    INF:0:Starting process C:\Program Files\Common Files\Microsoft Shared\SERVER14\Server Setup Controller\sqlexpr.exe with args  /q /HideConsole  /ACTION=install /pid=11111-00000-00000-00000-00000 /FEATURES=SQL,Tools /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS"
    /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /INSTANCENAME=SharePoint /INSTALLSQLDATADIR="C:\Program Files\Microsoft Office Servers\14.0\Data" and waiting 00:49:10 for it to stop
    ERR:-2067919934:Leaving function RunCommand
    Then I start my SQL Express instance and run Sharepoint setup to repair. However I got this error again in DBWrapLog:
    INF:0:Entering function RunCommand
    INF:0:Starting process C:\Program Files\Common Files\Microsoft Shared\SERVER14\Server Setup Controller\sqlexpr.exe with args  /q /HideConsole /ACTION=Repair /INSTANCENAME=SharePoint and waiting 00:49:10 for it to stop
    ERR:-2068643839:Leaving function RunCommand
    INF:0:Try to config SQL Express instance.
    INF:0:Grant Exec Right for dbo.sp_add_job
    INF:0:Data Source=.\SharePoint;Initial Catalog=msdb;Integrated Security=True;Pooling=False
    WRN:0:Fail to config in the number 1 try, will sleep 10 seconds and try again. The exception is System.Data.SqlClient.SqlException:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
    (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
    up to here, I get stuck.
    Can I consult this: How do you know to change value from reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\ServerRole. And what does this mean?
    Another Leon

  • How can I promote a field in my form to a SharePoint 2010 list column and have it populated?

    Hello,
       I have created a form using some jquery, html and <td> tags. I would like to promote the fields that I am having users fill out in the form so that they appear in the list that the submitted form is writing to. Below is the code that I
    have written, with some help of a great tool (Forms 7), is there another tag or class that I can input in order for the field names to appear in the list? I'm trying to also create a workflow and without these fields being columns I'm at a loss. Please help
    <link  type="text/css" rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/themes/start/jquery-ui.css" /> 
    <!-- Reference jQuery on the Google CDN --> 
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> 
    <!-- Reference jQueryUI on the Google CDN --> 
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js"></script> 
    <!-- Reference SPServices on cdnjs (Cloudflare) --> 
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/0.7.2/jquery.SPServices-0.7.2.min.js"></script> 
    <script type="text/javascript" src="http://www.sharepointhillbilly.com/demos/SiteAssets/jquery.Forms7-0.0.03.js"></script>
    <style type="text/css">
    .error
    {font-family:'Tahoma',sans-serif;font-size:10px;text-align:left;color:red;}
    </style>
    <script type="text/javascript">
    $(document).ready(function() {
        //Initialization function. Tells Forms7 which Query String Variable
        //has the ID of the form, and the name of the list to read data from
        $("#sampleForm").Forms7Initialize({
    queryStringVar: "formID",
    listName: "Contacts"
    //helper function to load a drop downlist
    //assumes there is a list called "States"
        $("#PassSelect").Forms7LoadDDL ({
    listName: "Passengers",
    firstOptionText: "Select",
    fieldName: "Title"
       //apply the jQueryUI calendar to the DepartDate field
    $( "#DepartDate" ).datepicker({
               changeMonth: true,
               changeYear: true,
            //apply the jQueryUI calendar to the ReturnDate field
    $( "#ReturnDate" ).datepicker({
               changeMonth: true,
               changeYear: true
    //function to load the city drop down list to only show cities for the selected state
    function LoadCities(stateID)
    //helper function to load a cascading dropdown list
    //in this example it would load Cities from a list called "Cities"
    //where that list had a lookup field called "State" and it would
    //use the ID of the selected State
    //    $("#CitySelect").Forms7LoadChildDDL({
    // parentID: stateID,
    // parentField: "State",
    // listName: "Cities",
    // firstOptionText: "Select City",
    // fieldName: "Title"
    function SubmitForm()
    //When the form is submitted store it to the specified list
    //also pasas in the x and y offset of error messages for elements
    //this allows you to change their location in reference to the form field
    $("#minimalForm").Forms7Submit({
    listName: "Reservations",
    errorOffset"Apple-tab-span" style="white-space:pre;">    
    errorOffsetnbsp;           completefunc: function(id) { 
    alert("Save was successful. ID = " + id);
    window.location = window.location.pathname + "?formID=" + id; 
    </script>
    <div id="minimalForm" >
    <table width="100%" cellpadding="10" cellspacing="0" >
    <tr bgcolor="white">
    <div id="minimalForm" >
    <br><img src="http://BannerImage.jpg"  width="400" height="160" alt="AltImageName" align="middle">
    <font size="6">Vehicle Request Form</font>
    <font size="1">Last Modified: 03/21/2014</font></br>
    <hr><b></hr></b>
    <p>
    </p>
    <hr>
    <br><font size="3"><b>Forms on File</b></u></font></br>
    <hr>
    <font size="2"><b>NOTE:</font></b> <font size="1">The following forms must be on file with Human Resources before you can use a vehicle. Only fill out the third form if you need to notify HR about any activities
    that may affect your eligibility to operate a motor vehicle
    </font>
    <br><a href="url"><font size="3">1) Driver's History Consent Form </a>
    <br><a href="url"><font size="3">2) Driver Qualification Procedure Acknowledgement Form</a>
    <br><a href="url"><font size="3">3) Driver Qualification Procedure Notification</a>
    <br>
    <br><font size="1"><b>These forms must be signed and submitted to Human Resources every 6 months.</font></b>
    <br><font size="1">Do you currently have these forms on file with Human Resources?</font> 
    </font>
    <hr>
    <table>
    <td><font size="3"><b><u>Driver Information</b></u></font></td>
    </table>
    <table>
    <tr bgcolor="white">
    <br>
    <td class='formLabel'>First Name:</td>
    <td class='formLabel'><input title="First Name" id='FirstName' data-displayname="DriverFirstName"class='required formInput' maxlength="40"></td>
    <td class='formLabel'>Middle Name:</td>
    <td class='formLabel'><input title="Middle Name" id='MiddleName' class='formInput' maxlength="1"></td>
    <td class='formLabel'>Last Name:</td>
    <td class='formLabel'><input title="Last Name" id='LastName' class='required formInput'maxlength="40"></td>
    </tr>
    <tr bgcolor="white">
    <td class='formLabel'>Email:</td>
    <td class='formLabel'><input title="Email" id='Email' class='required formInput' maxlength="40"></td>
    </tr>
    <tr bgcolor="white">
    <td class='formLabel'>Supervisor Name:</td>
    <td class='formLabel'><input title="SupervisorName" id='SupervisorName' class='required formInput' maxlength="40"></td>
    </tr>
    </table>
    <hr>
    <table>
    <td><font size="3"><b><u>Passenger Information</b></u></font></td>
    </table>
    <table>
    <tr bgcolor="white">
    <br>
    <td class='formLabel'>Passenger Name:</td>
    <td class='formLabel'><input title="First Name" id='PFName' class='required formInput' maxlength="40"></td>
    <td class='formLabel'>Middle Initial:</td>
    <td class='formLabel'><input title="Middle Name" id='PFName' class='formInput' maxlength="1"></td>
    <td class='formLabel'>Last Name:</td>
    <td class='formLabel'><input title="Last Name" id='PLName' class='required formInput'maxlength="40"></td>
    </tr>
    <tr bgcolor="white">
    <td class='formLabel'>Email:</td>
    <td class='formLabel'><input title="Email" id='PEmail' class='required formInput' maxlength="40"></td>
    </tr>
    <tr bgcolor="white">
    <td class='formLabel'>Passenger Supervisor Name:</td>
    <td class='formLabel'><input title="SupervisorName" id='PSuperVisorName' class='required formInput' maxlength="40"></td>
    </tr>
    <tr bgcolor="white">
    <td class='formLabel'>Number of Additional Passengers:</td>
    <td class='formLabel'><select title="Pass#" id='PassSelect' class='formInput' onchange="LoadPassengers(this.value);"></select></td>
    </tr>
    </table>
    <hr>
    <table>
    <td><font size="3"><b><u>Reservation Duration</b></u></font></td>
    </table>
    <table>
    <tr bgcolor="white">
    <br>
    <td class='formLabel'>Depart Date:</td>
    <td class='formLabel'><input title="Depart Date" id='DepartDate' class='required formInput' isDate="yes" validate="validDate" onchange="validDate(this.value,this);"></td>
    <td class='formLabel'>Return Date:</td>
    <td class='formLabel'><input title="Return Date" id='ReturnDate' class='required formInput' isDate="yes" validate="validDate" onchange="validDate(this.value,this);"></td>
    </tr>
    </table>
    <hr>
    <table>
    <td><font size="3"><b><u>Travel Information</b></u></font></td>
    <tr bgcolor="white">
    <td class='formLabel'>Please describe reason for request:</td>
    <td class='textbox' height='20' width='30'><input title="DestInfo" id='DestInfo' class='required formInput' maxlength="500"></td>
    </tr>
    </table>
    </hr>
    <p></p>
    </br>
    <input type="button" value="Submit/Update Request Form" onclick="SubmitForm();">

    Hi,
    If you want to add fields to a list, as you have written your form in JavaScript, you can take consideration of using JavaScript Client Object Model to add/delete fields dynamically.
    How to: Create, Update, and Delete Lists Using JavaScript
    http://msdn.microsoft.com/en-us/library/office/hh185005(v=office.14).aspx
    If you want to achieve it with Form7, it is recommended to post the question to its forum to get quick and confirmed answer.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Retrieve data from AD from within a custom sharepoint 2010 webpart

    Hi,
    I have a requirement to retrieve user data from AD and display from within a custom built webpart.
    I am using the PrincipalContext class etc to get the info from AD, i have sucesfully done this in a console program without having to specifiy a username/password.
    In the webpart i have successfully retrieved the data by hard coding my domain username/password.
    Any ideas what i could do to get the webpart to retrieve information from AD without having to specify username/password?
    thanks cjm

    Hi C.J, 
    I wrote an example of this using credentials stored in the Secure Store in the TechNet Wiki. The article is here: http://social.technet.microsoft.com/wiki/contents/articles/20110.sharepoint-retrieving-credentials-from-the-secure-store-application-using-c.aspx
    There's an example in the above article about building a webpart that connects to AD using the credentials.
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • How to use existing WSP file of reusable workflow and create sanbox solution?

    Hello,
    I have to migrate the SharePoint Designer 2013 workflows from Development environment to Production environment. So, I am following the process which is mentioned in this blog:
    http://sharepointyankee.com/2010/12/11/options-for-deploying-reusable-workflows-in-sharepoint-2010/
    And it is working also, but problem is that; this visual studio solution is getting deployed as a Farm Solution and I wanted to deploy it as a sandbox solution. 
    Is there any way to achieve this?
    I have also tried one more way which is:
    Create SharePoint Custom Workflow Project as a sandbox solution in Visual studio.
    Get WSP file from development site (as mentioned in above referenced blog)
    Open WSP file and copy the content to Visual Studio Created project
    But this solution is also not working; "Feature is not getting deployed as sandbox solution" error is occurring.
    Can anyone please help me on the same?
    Thanks,
    Asim

    Hi,
    When you export SPD workflow, it will be a sandbox solution only, you are not required to configure further.
    Just import the workflow into Visual Studio, and make the changes that are required. you are good here.
    you can set the scope attribute in your WSP feature element.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Custom report for Workflow approval status

    Hi Friends,
    For one of my custom workflow the client needs a custom report to know the approval status. This custom workflow will be a multilevel approval and they want to know the status based on the object key(document number) like who has approved it at what time, who else has to approve etc which standard workflow tables can be used for this? Please advice.

    >
    sapient wrote:
    > Solved as per Arghdip,Martin and Mike's Suggestions.
    Thanks for the update, but how is this possible if two of them are completely different solutions? 
    This is a tecnical forum, accuracy is key. The word "and" doesn't really work in the above statement.

  • Update Approval Status of parent Folder based on approval status of folder items

    Hi,
    I have a SharePoint list which contains folders. Each folder contains one or more items. I wish to update the folder approval status to "Approved" when all the items inside the folder are approved.
    The workflow should trigger whenever the approval status of one or more items inside the folder is changed and is expected to check the approval status of all other items inside the folder. If all the items are approved the folder's approval status should
    be set to "approved".
    I am designing the workflow via SharePoint Designer 2013 and using SharePoint Online 2013 .
    Thanks a lot in advance.

    Hi,
    According to your post, my understanding is that you wanted to update Approval Status of parent Folder based on approval status of folder items.
    Per my knowledge,
    there is no out of the box way to accomplish this with SharePoint.
    Though we can loop the
    folder items to set the content approval status, we can not get the parent folder and then set the content approval status.
    As a workaround, I recoemend to create event reciever to get set the content approval status of the folder items.
    For more information, you can refer to:
    How to: Create a remote event receiver
    How to create a simple Remote Event Receiver for a Custom List in Office 365 SharePoint 2013 site
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Triggering a scheduled event based on the approval status

    Hi,
    I have created schedules for my project (one task and one milestone) with three phases(draft,approval,approved). The milestone is dependent on the task.Task is created for draft phase and milastone for approval phase
    Now after creating the schedules when I have saved the project, even before i put my project in the draft phase the schedule is getting triggered and can be seen on the workbench in the events channel.
    That means the schedules are getting triggered based on the date irrespective of the task or milestone being completed and also the schedule for a task needs to be triggered each time until the task is completed.
    So now I want accomplish two things -
    1. How can I trigger the schedule only when the user puts it in the draft phase or any required phase ?
    2. How can I send a mail to the collaborator each day until he proceed the project to approved status and only on getting "approved" status the milestone schedule should be triggered.

    Both would require scripting...
    on phase change, add the required events
    build a custom class that gets called nightly via scheduled task and searches through the projects meeting your criteria and sends them an email reminder.
    -Howie Wexler
    www.craftysystems.com

  • Creating Globally Reusable 2013 Workflows on SharePoint Designer 2013

    I'd like to create a workflow for a list in an application I downloaded from the Office store. The option I have is to create a globally reusable workflow which I can then use on the applications list. How can I create a globally reusable 2013 workflow,
    simply, what is the process of creating a globally reusable 2013 workflow on SharePoint designer 2013?

    Thanks Margriet, I'm actually using SPD 2013. When I select the "Workflows" node on SPD, I only get List Workflow, Reusable Workflow and Site Workflow options on the ribbon. I tried using Reusable Workflow but it doesn't create one that is "Globally Reusable".
    What I'm trying to do is to create a workflow which I can activate for a site collection so I can attache it to a list in an application I downloaded from Office Store. A reusable workflow such as the one I got from the Reusable Workflow option on the ribbon
    doesn't work.

  • Leave status showing 'executed' instead of 'approved'.

    Hi Friends
    Recently i created half day maternity leave,when employee is applying leave through his ESS, after his managers approval status showing executed instead of approved in ESS.Please could you help me where can i change the status of the leave from executed to approved.Please need your help at the earliest.
    thanking you
    bhoomika

    Dear,
             This is for coming that your sales order not deliver to billing.
            Please check there is any item pending for delivery in sales order.
    Regards,
    Sandip

  • Approval status after copying sharepoint issue (help friend)

    Re !
    It's surely easy...I gonna try to be clear :)
    In sharepoint I got 2 lists : list01 and list02
    On my list01 I have a workflow.
    In the list01, if the approval status of my item is "approved" then I copy the item in list02.
    My problem is : 
    the copied item in my list02 (yet "approved" in list01) have a approval status "waiting for approval"
    Strange ?
    How to keep it "approved" ? What I do not do well ? I have to change my workflow on list01 ? Create a workflow on list02 ? Settings/configure on my list02 ?
    I don't understand this behavior.
    Thank you for reading.
    Regards

    Hi,
    The approval status column is a system column, it cannot be copied by workflow.
    You can click approve/reject button in the ribbon to approve or reject the new item in list02 manually.
    Or you could change the approval status from “waiting for approval” to “approved” by code in the list02.
    The article below is about how to update the content approval status column.
    https://chanakyajayabalan.wordpress.com/2013/03/01/read-or-update-content-approval-status-column-or-moderation-column-using-sharepoint-client-side-object-modelcsom/
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Leveraging Workflow Approval status in Word document

    I am using SharePoint 2013 and have created an Approval workflow that works as expected.
    I would like to leverage the Approval Status within the document so that if someone views or prints the document, it will show "Pending" or "Approved" depending on where in the approval process the document is.
    Once final approval has been made, I would also like to display within the document (e.g. cover page) the name of the approver, the date the approval occurred.
    Would I have to use a Lookup column and point that to something?

    Hi,
    According to you description, my understanding is that you want to create an approval workflow which is able to set the status and approved time and the approver in the document.
    Per my knowledge, there is no OOTB way to achieve your request. As a workaround, you can set this in document library. If someone views the document library, it will show the status and approved time and the approver in the document.
    You could create a workflow using SharePoint 2010 platform in SharePoint  2013 Designer:
    Create a date column named “Date” and a person column named “Approver” and a Single line of text column named “MyStatus” default value is “Pending” in library.
    In SharePoint Designer 2013 using SharePoint 2010 platform ,select “Start Approval Process” action, set the user.
    Add action “set [Date field] to [Today]”, in Approval -> Change the behavior of the overall task process in Customization field -> in When the Task Process Completes field, shown as figure below.
    Add action “set [Approver] to [Current Task:Assigned To]”, “set [MyStatus] to [Approved]”in Approval -> Change the behavior of a single task in Customization field -> in When a Task Completes field. The steps are similar as above.
    Then you can show the library content type column value in document template via “Quick Parts”,  access library settings -> Advanced settings -> click Edit Template, in Insert tag -> Document Property -> insert column you want, shown as
    figure below.
    Thanks,
    Dean Wang

  • Move workflow status column from one library to another in Sharepoint 2010

    Good morning,
     I have two libraries in the same site, LibraryA and LibraryB.
     On LibraryA, users upload documents upon which they start a collect signatures workflow. The view on LibraryA contains a column with the signatures workflow name showing status: ‘Compete’, ‘In progress’.
     Now on LibraryA I have created a workflow to move any document one month after creation to LibraryB (using retention schedule) irrespective of signature workflow status.
     Now what I would like is to have the signature workflow status shown in LibraryB as well. From what I understand you can add the workflow status column only on the library with which the workflow is associated. I also tried, on LibraryB, to create a new
    column which Lookups in {Signature Approval History – Outcome} but this did not do the trick either.
     Any workarounds?
     Many Thanks

    Hi,
    According to your description, my understanding is that you want to move the workflow status column to another library in SharePoint 2010.
    I recommend to use another column to get the value of the workflow status column and then move this column to another library.
    We can use workflow to update the column with the value of workflow status column.
    However, the workflow status column stores the value with numbers which represent different status, so we need to update the column with corresponding status based on the numbers in the workflow.
    http://chanakyajayabalan.wordpress.com/2010/03/08/sharepoint-workflow-status-codes/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Renaming SharePoint 2010 Designer Approval Process Action Variable Name

    Hi,
    I am creating a 7 level(Mutiple) Approval Workflow in SharePoint 2010 Designer.
    Whenever i add a new Approval Task Process action it adds 14 to 15 varialbes like Duration Unit,Duration Description,IsApproved,IsDeleted,EnableContentTypeApproval etc.
    Since i am adding 7 Approval Task Process actions i am getting the variables added as Duration Unit1,Duration Description1,IsApproved1,IsDeleted1 etc in the Workflow.
    I want to rename them to track it  in a better way so that i can change them like Duration Units-Level1,Duration Description-Level1,IsApproved-Level1,IsDeleted-Level1 etc.
    I am able to rename all the varaibles except Duration Unit and Duration Description. I see the Local varaible type as Duration Unit for Duration Unit varialbe and i am not able to modify it since i don't see a Type Called Duration Unit in Workflow variables
    type properties.
    For Duration Description i can rename it but while publishing i am getting the error as mentioned in the below blog.
    http://spnovice.blogspot.com/2012/12/spd-workflow-error-path-needs-to-point.html
    It's hard to track this varible with names like Duration Description,Duration Description 1,Duration Description2,Duration Description3,Duration Description4,Duration Description5,Duration Description6 etc.
    How to rename these two variables in Approval 2010 Designer workflow.
    I see varailbes like CC and Approvers which i dont need.Can we remove the unused vaiables also so that i can have limited no of vaaibles in my workflow.
    Please help.
    Thanks, Vijay Arockiasamy

    Scott,
    I have created 7 different approval workflows on a single list.Just followed the recommendation from
    Keith Hudson, J.D in this blog.
    https://www.linkedin.com/groups/sharePoint-designer-2010-multilevel-approval-136589.S.5824115633184350208
    But as per this blog the workflows triggers only when a new item is created not when a an item is changed.
    I have few questions on these 7 workflows on a single list.
    1.If the Approver rejects the request the request needs to reubmit it with some changes.In this case if the requestor edits the existing list item the workflow will not trigger.
    2.I am using Wait on Field action.For Example if Level 1=Approved and Level 3 is pending then level 2 approval workflow will trigger.
    In level 2 workflow i am using  update list item  action and updating the Level status=approved.Int this case level 1 workflow will also trigger if i am executing the workflow on both item created and item changed event.
    Could you please help on this.
    Thanks, Vijay Arockiasamy

Maybe you are looking for