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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

how to change Initiation URL of a workflow

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


I created a workflow, it contains task complete & Start workflow web part on the same aspx,

when I tried to segregate those two functionality by adding one more aspx page and updating the URL in config. xml file, it doesn't work.

<Initiation URL="Workflows/Travel Approval Status/Start Approval Process.aspx">

I'm doing anything wrong or is there any other good option?


View Complete Post

More Related Resource Links

Change the Workflow Status through code


HI Folks,

I have a scenario where i need to develop a 6 stage approval workflow(sequential) using WWF and depoly it to sharepoint. Everythigns fine till here.

Now we look ahead to change the Status field on the documents library which actually has the Workflow Name as the column name and its value being In Progress, depending on the stage of approval. Like(Approved 1, Approved 2, Approved 3.)

And if rejected the status should be rejected than Completed. Any idea how can we update this column of the List item.

I have tried item[workflowProperties.Workflow.ParentAssociation.Name]="Approved 1";

But this throws an error saying input string is not in a correct format.

Any information would be of great help :)


Sreeharsha Alagani

Change workflow rule file

Hi, I create workflow and rule base condition for that ".rule file"  . But now i have to change rule condition . when i change the condition then it return error can't  validate because of it refer previous values.   Any one can tell how change rule base conditions in workflow.

how to change the permissions list items using the workflow?

How to change the permissions list items using the workflow? Or how to instull SPDActivities on sharepoint 2010?

Change Variable and Argument editor in workflow designer?

Is it possible, in Beta 2, to customize the behaviour of the editing grids use for entering data about a workflow's variables or arguments in the workflow designer?  Can I:- add my own custom column to the grid?- can I customize the variable type drop down editor? (e.g. have my own editor or otherwise filter the list of types)- can I change the "default" expression editor (and possibly remove it)?Thanks,Notre

How do I change Associated task list in a workflow

Hi, I use Sharepoint Designer 2010. How do I change Associated task list in a workflow that I just made. I didn't see any settings where I could adjust the associated task list! Please help.   Regards, Luka

Associating an InfoPath form as an initiation form of a workflow, and have it appear when workflow i

Hi all,   I've been working with and infopath form which I want to integrate into my Visual Studio 2008 SharePoint Workflow. I have done all the steps and can verify that the form works as it should, because if I associate the workflow and allow it to be kicked off manually, the form displays if i kick the workflow off... However, if I set the trigger to be "Start workflow when an new item is created", the form does not display and it goes straight into the code... why does my form not display when the workflow is triggered from a new item, but does if the item already exists??  Is there a way to get around it so that the form does show when a new item is created please?   Thanks, Ben

How to Change Workflow Status Programatically on DueDate reached


I have developed a sharepoint approval workflow using VS.NET 2008. Workflow fires when any new item is created. Three parallel task is created and waiting for approval.

Workflow will only completed when all three approvers approves/completes their task. I want to change the status (denied) of the workflow every tuesday 11:59PM if any one of the approval is pending. This  denial work I want to perform by programatically within the workflow.

so I need suggestion how do I achieve the above scenario?

Do I write any timer job to monitor workflow status on every tuesday 11:59PM and denied as per the logic mentioned above.


Do I encaptualte the denial logic withing the workflow itself?

Please suggest a way to solve the problem...

thanksArup MCTS - SharePoint

Play Sudoku

How to change item user permissions by workflow using item fields


Hi, thats not a question, but solution. I have read a lot of requests about how to perform this task, so here it is.

Code behind will run workflow which will take XXZ and XXY which are user fields and assign their values as "Full acces" and "Design" user permissions to given list item.

This workflow contains two sections. onWorkflowActivated1_Invoked and SetItemPermissionsEx.

using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Linq;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Workflow;
using Microsoft.SharePoint.WorkflowActions;

namespace ITCSharepointAddons.Comm_UpdateItemPermissions
  public sealed partial class Comm_UpdateItemPermissions : SequentialWorkflowActivity
    public Guid webID; 
    public Guid siteID; 
    public Guid listID; 
    public int itemID; 
    public Guid workflowId = default(System.Guid); 
    public SPWorkflowActivationProperties workflowProperties = new SPWorkflowActivationProperties(); 


change current activity in Sharepoint Workflow !!


Hi All:

Is There any way to change current activity in Sharepoint 2007 Workflow ?



change current activity in Sharepoint Workflow !!


Hi All:

Is There any way to change current activity in Sharepoint 2007 Workflow ?



Workflow state change


Based on the workflow status, I want to directly move the workflow instance to one particular state. In .NET 3.5 State machine workflow, we have an option to move the specific state from initial using SetState option.

Currently I am developing a workflow as a Workflow services (.NET 4.0) using flowchart with send receive activity.

Is there any way to move the workflow to particular state?

Change value of a form field using Workflow


Hi, is there any way that I could change the value of a Form item(like textbox) designed in InfoPath 2010 using workflow conditions,

I dont want to acheive this by using rules by setting fields value,

My requirement is that on the click of a button in a form i want to run workflow which checks some conditions in the SharePoint List and I want to dispaly a message in a form,

Using Workflow Initiation Form to Modify the Value of a Lookup Column in a List Using a Custom Looku



I am trying to develop a workflow and an associated initiation form that will allow a user to update a column in a list that is a lookup column. I have code working so that the lookup options are being properly pulled from the list and populated in the drop down on the initiation page. However after  completing the initiation page and starting the workflow, with a value selected in the lookup list, the value does not get properly updated; it appears to be updating with a null value.

The following is my code for the XOML and Initiation ASPX file. The name of the Lookup Column is "Primary Technical Category" with an XSLT name of "Primary_x0020_Technical_x0020_Ca." The Initiation Variable is also Called Primary Technical Category (PrimaryTechnicalCategory without spaces as SPD renames it). 

I would greatly appreciate any assistance!

Thanks, Michael

XOML File:

<ns0:RootWorkflowActivityWithData x:Class="Microsoft.SharePoint.Workflow.ROOT" 

Workflow does not auto-trigger on form item change


Hello there,

Background: I am using an Infopath 2007 (Client based forms) form library, I am associated a condition based workflow which updates another list when ever a form changes. 

Problem: The workflow does not auto triggers when a form item changes.

I am aware that the workflow doesn't auto-trigger if the change is initiated via system account. I also have checked the option which says: 'automatically start the workflow whenever an item is changed'. Worklfows auto triggers easily on infopath web based forms and lists. 

Question: Does this mean that we can auto-start an infopath client based form on item  change?


Any help in this regard will be appreciated 

Why is workflow status column empty and how to change it?


One particular instance of the workflow shows workflow status column as empty although it should be showing IN PROGRESS since if click on workflows from item's context menu I can see the workflow running on it;  _layouts/workflow.aspx show it as in progess.
This workflow was not created 60 days ago and its not complete. I wonder why it displays empty in the workflow status column.

Also can this column be changed from web service? I tried using:

<FieldRef Name='myworkflow'>2</Field><FieldRef Name='ID'>23</Field>

and updating it. While the webservice code does not throw any error and ListService.UpdateItems() returns 0x000000, this column doesnt get updated. Any ideas what could be wrong?

initiation of a workflow


I have a situation where I have multiple lists in my solution and one of those lists is a goldsource list that is deleted and replaced each day, basically rebuilt with new updated information.
I need my workflow to kickoff and update all the corresponding records in my other lists but I think it is confused.

How would I get workflow to understand that all records need to be reviewed.

Matt Pinkston

Customizing an Approval Workflow with SP Designer - where to edit when a change is requested?



I want to customize the SharePoint 2010 Approval workflow on a form library so that when a change is requested to a form, a group of people get notified of the change request and all comments entered by the approver requesting the change.

In SP Designer, I don't see where I can edit this.   I can change various things related to task approval and rejection but I just can't find the portion of the workflow that indicates what happens when a change is requested to the form.  Forgive me if it's obvious and I'm just overlooking it.






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