.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Approval Workflow does not update the Content Approval status if started automatically

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :SharePoint
 

Hi,

I’m using a simple Approval Workflow associated with Content Approval on site pages. It works fine when I set it to be started manually (by using Allow this workflow to be manually started by an authenticated user with Edit Item permissions  option) and on the completion of the workflow the Content Approval status is updated accordingly. But when I set it to be started automatically (by using Start this workflow when a new item is created  / Start this workflow when an item is changed options), it does not updates the Content Approval status. Note that I’ve set the Update the approval status after the workflow is completed (use this workflow to control content approval) option to true.

Regar


View Complete Post


More Related Resource Links

Approval Workflow does not update the Content Approval status if started automatically

  

Hi,

I’m using a simple Approval Workflow associated with Content Approval on site pages. It works fine when I set it to be started manually (by using Allow this workflow to be manually started by an authenticated user with Edit Item permissions  option) and on the completion of the workflow the Content Approval status is updated accordingly. But when I set it to be started automatically (by using Start this workflow when a new item is created  / Start this workflow when an item is changed options), it does not updates the Content Approval status. Note that I’ve set the Update the approval status after the workflow is completed (use this workflow to control content approval) option to true.

Regards

Approval Workflow does not update the Content Approval status if started automatically

  

Hi,

I’m using a simple Approval Workflow associated with Content Approval on site pages. It works fine when I set it to be started manually (by using Allow this workflow to be manually started by an authenticated user with Edit Item permissions  option) and on the completion of the workflow the Content Approval status is updated accordingly. But when I set it to be started automatically (by using Start this workflow when a new item is created  / Start this workflow when an item is changed options), it does not updates the Content Approval status. Note that I’ve set the Update the approval status after the workflow is completed (use this workflow to control content approval) option to true.

Regards

Update Approval Workflow task status

  

Hello All

I am trying to update the task status automatically after a list item is approved without much luck. I need to set the task status to "completed" without having to manually hitting the "complete task" button, so the next person in line can approve the list item.

How can I change the status of a task using SharePoint Designer 2010?

In my SharePoint Designer task editor I have:

<code>

if Current Item:Approval Status equals 0;Approved

---I need to add a line in here that updates the task status to "completed"

Assign Approve list item to User2

</code>

 

Thank you all in advance.

Regards

Yoshi


OOTB Approval Workflow - Approval status could not be updated

  
I've setup up a standard OOTB (out of the box) approval workflow on a Pages library, in order to manage the approval of all pages created and updated.  This operates as expected, and the users are mostly happy, execpt for one scenario: Once a page has been submitted for approval, if the approver wants to edit the page, it stops the workflow (after prompting) which then requires the workflow to be started again.  They would like it so the approver can edit and then approve, without restarting the whole workflow process. There is a setting in the approval workflow configuration of the 'Complete the Workflow' section in the 'Cancel this Workflow when the' area, and by unchecking the 'Document is changed' option, I believe this should enable approvers to edit the page and then approve the page, without stopping the workflow  However, the workflow appears to operate as expected, except the page does not automatically get approved.  By looking in the workflow history, I can see the following error: Post-completion activity performed. Approval status could not be updated. I've tried this on two separate MOSS 2007 Enterprise farms, both are publishing sites and I'm running as a site collection administrator, both with the same results. Is anyone else getting this, is this normal?! Is there another way to approach this, without having to go

Controlling Content Approval in custom SPD workflow

  
I've designed a custom workflow using SharePoint Designer 2007 on MOSS 2007 to perform the following: User uploads a document to a document library. Workflow triggers and waits for designated Approvers to either Approve or Reject the document. IF REJECTED, the user that uploaded the document is sent an e-mail and the document is deleted from the document library. IF APPROVED, the document is moved to a second, "secured" document library. This all works fine except for one thing. I want to record in a custom column who actually approved the document. As the workflow starts as soon as the document is uploaded to the document library then the workflow is running under the context of that user - not the user who approves or rejects the document. Does anyone have any idea how I could capture who approves this document through my custom SPD workflow?

Activating an approval workflow on adding a new content type

  

How can I associate a workflow with the content types list? My scenario is that I allow users to add newcustom content types but they are needed to be first approved before they get added to the list of site content types. I couldn't find a way to associate a workflow with the site content types in Site Settings -> Site Content Types.


Content Query Webpart Missing Content Type and Approval Status

  

I'm a great fan o the CQWP , and love the changes made in 2010 on this webpart. What bothers me is that I use to Filter Documents by Approval Status, thus showing Draft or Pending Documents and Group these by their Content Type.

Both these were available in 2007, but removed from 2010 CQWP. Any idea why, or how to bring this back? sample or URL guidance would be great. My gut feeling is custom XSLT but id like to confirm this first.

Thx a lot

 

 


Workflow Approval Process not setting item's Approval Status

  

Hello,

I've been pounding my head against the desk about this all afternoon.  I have a simple workflow attached to a document library that runs on item creation.  All it does is start the approval process on the current item and emails me and a few other people a task (in parallel).  I have another workflow attached to the document library that runs on modify and it looks to see what the Approval Status of the Current Item is.  If the Approval Status is Approved, the workflow copies the item to another library then deletes the current item.  Same with rejected (only sends it to another library).  Pending does nothing.  I modified the Completed step in the approval workflow to modify the item (to make sure the second workflow triggers)

All that works except, no matter what the Approval Status is alway Approved!  Even when first create the item and run the approval process, the item comes out as approved.  I even explicately set the Approval Status to Pending at the beginning of the first WF, but right after that, the item reverts back to being Approved.  How do I make the item be Pending until everyone has responded to the approval task?  I kinda thought that was the default procedure...

Thanks!


Default Content Approval Workflow not firing after Check-In from Office 2007

  

I have created an Approval Workflow for a Document Library and assigned it as the Default Content Approval Workflow (in the UI: Start this workflow to approve publishing a major version of an item).

If, through the SharePoint web interface, I "Check-In" and select a Major Version (e.g. 1.0) or I "Publish a Major Version", this workflow is initiated as one would expect.

However, if through Microsoft Office 2007 (e.g. Word) I Check-In the document as a Major Version (e.g. 1.0) it does NOT initiate the workflow. It DOES set the Document Status to Pending but does NOT initiate the Approval workflow. It then becomes necessary to "Cancel [the] Approval" in the GUI and re-Publish it in order for the workflow to be initiated. This is crazy! Microsoft have achieved fantastic results with their Office integration, why hasn't the initiation of the Default Content Approval Workflow been included?

Can anybody replicate this? What is the correct channel for reporting this to Microsoft? Has anybody else discovered this and found a solution?

I can't believe SharePoint has been used as a Document Management System and nobody else has discovered this flaw?


how to get the status of an approval workflow of item using sharepoint object model ?

  

Hi,

There is a list on which an approval workflow is associated,workflow starts when an item is added.The list is having anonymous access so anyone can enter an item,but the item needs to be approved by an approver.Hence,each item will have a status(e.g. approved,rejected etc.).

Now,I am creating a visual webpart.I want to display the list items in a grid.But I need to display only those items which are approved.I am using sharepoint object model,How can I filter the items based on the approval status.

Thanks


Using dynamic data for approval workflow / Content staging.

  

Hello people!

Started evaluating dynamic data around a week back, so not sure if a thread exists for this query.

Has anyone used or evaluated Dynamic Data for implementing a Approval Workflow? 

For Example-
Products Table- ProductName, UnitPrice, Discount, .... ...., State (Sumbitted = 1, Updated = 2, Approved = 3, Rejected = 4)

Each time a Product's Discount is updated, it goes for approval from Senior Management. And only after approval the Product gets its new price.

 

In my project, I have quite many entities that need approval before they can be accepted or updated.

 

Thanks in advance! :)


SPD Approval Workflow approval status is always approved

  

Hi,


I have started approval process through workflow.The problem here is approval status is always "Approved". but in task list outcome is showing correct data.
How to check whether the item is approved or rejected in SPD? any samples? Kindly advice.

I checked the following link. No help.

http://stackoverflow.com/questions/1964596/sharepoint-designer-2010-how-to-get-workflow-status

Thanks.


SharePoint Designer: Set content approval status

  

Hi,

 

I have a Document Library with the following Versionning Settings:
- Require content approval for submitted items: yes
- Require documents to be checked out before they can be edited=No

 

When a new file is created in the Doc. Library a workflow designed by SharePoint Designer is started.
The only action is Set content approval status to Approved with comments.

 

The workflow stopped and in the History section I have:
     Event Type = Error
     User Id = System Account
     Description = Error updating a list item
     Outcome = Document checked out

 

Why the document is checked out and why the System account, which has Full Control can't execute the action?


Can't get approval workflow to set status correctly

  

I'm trying to create a security permissions form that will allows us to follow our buisiness practice more quickly. What I'm trying to do is send an approval email to two required signitures and one optional one. That was simple enough

"Start Approval process on current Item with Current Item: approver1;Current Item: approver2; Current Item: approver3'

However, This caused a problem for me: when I go through testing my workflow,(lets call it workflow1) by approving and rejecting the task, the field "Approval Status" continues to say pending. But the field "workflow1" shows the appropriate result for the test.

So, how can I get my "Approval Status" field to read exactly what the "Workfow1" field does? I've tried a few things but it doesn't feel like I'm getting anywhere.

Thanks a lot for your help

-Billy


Approval Workflow blank status problem.

  

We noticed an issue in our environments where under certain conditions an approval workflow has a blank status.

I have since been able to replicate this in a vanilla environment, and have tried up to the June 2010 CU. I will be trying on Oct 2010 CU soon.

Steps to reproduce...

1. Create a document library
2. In versioning set Require Check Out to Yes.
2. Create at least one document in the newly created document library and check in.
3. Create an Approval Workflow by using a workflow template (go to Settings -> Document Library Settings -> Workflow settings and then set up an approval workflow). Ensure that this workflow is configured to started when items are modified, and is used for content approval (after workflow is completed, update the approval status).
4. Modify one of the documents contained within the newly created document library. The workflow starts automatically.
5. On the newly created document library page, you will notice that the <workflow name> column is displayed but it does NOT show the status of the workflow.

If you look at the workflow on the item it will show up as "in progress" but on the library is is blank.

So far it looks like this only occurs when required check out is turned on.

Any ideas anyone? Are we missing something?

Thanks!

Phil.


SharePoint 2007 approval workflow status not consistently updating

  

I have an InfoPath form library in our SharePoint site that people use to create requests and submit them through an Approval workflow for concurrence and process completion tracking.  The workflows are manually started by users and the system is supposed to update the approval status only on completion of the workflow (ie the request is approved or rejected).  I did go into SharePoint Designer when we first launched and set the document library property settings to "Require content approval for submitted items".  They are not required to check out the item before editing it.

At first everything was just fine, but now it seems that the workflows are inconsistently updating the approval status.  Any ideas?


How to Customize the Add Comment 'Items on this list require content approval...' notification in

  

WSS 3.0:

If content approval is turned on, the Add Comment section displays a fairly ugly notification. Is there any way I can customize that section through e.g. CSS or SPDesigner?

I'd like to change at least the text, and preferably the yellow exclamation image, and also the background if possible.


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend