you will the Microsoft.Office.Project.Server.workflow.dll in below location:
C:\windows\assembly\gac_msil\Microsoft.Office.Project.Server.Workflow\14.0.0.0__71e9bce111e9429c
About Me
- Sivanandam
- System Analyst,Collaboration Servers Integrate,Enterprise setup planner.
Thursday, 31 March 2011
Saturday, 19 March 2011
Project Server 2010 Custom Workflow by Visual Studio 2010
Design:
==========
WorkflowBranching.cs file:
==========================
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 BranchingWorkflow.BranchingWorkflow
{
public sealed partial class BranchingWorkflow : SequentialWorkflowActivity
{
public Guid workflowId = default(System.Guid);
// Stage 1: Initial Proposal Details stage. Replace GUIDs with your values.
public Guid stage1Guid = new Guid("4fd56302-cb51-4a81-958c-47d499456a61");
// Stage 2: Proposal Details stage.
public Guid stage2Guid = new Guid("400060e9-5f2b-4e60-82f6-451b83165190");
// Stage 3: Automated Rejection stage.
public Guid stage3Guid = new Guid("c39007f5-9338-4a0f-af99-761dc7a2e97c");
// Stage 4: Execution stage.
public Guid stage4Guid = new Guid("43a1eb7b-562d-42e8-9a96-88817ef74295");
// Custom field: Sample Proposal Cost.
public Guid proposedCostUid = new Guid("dc68b96a-965e-4b25-ac8a-15a5df729831");
public BranchingWorkflow()
{
wfContext = new Microsoft.SharePoint.WorkflowActions.WorkflowContext();
InitializeComponent();
}
// Class property for the workflow properties.
public SPWorkflowActivationProperties workflowProperties
{ get; set; }
// Class property for the workflow context.
public Microsoft.SharePoint.WorkflowActions.WorkflowContext wfContext
{ get; set; }
// Dispose the workflow properties and workflow context when disposing the workflow.
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
if (disposing)
{
wfContext.Dispose();
workflowProperties.Dispose();
}
}
// Event handler for the OnWorkflowActivated activity; initializes the workflow context.
private void onWorkflowActivated1_Invoked(object sender, ExternalDataEventArgs e)
{
wfContext.Initialize(workflowProperties);
}
// Property for comparing the budget cost result.
public bool CompareBudgetCostResult
{ get; set; }
// Method to compare the budget cost.
internal void CompareBudgetCost(object sender, ConditionalEventArgs args)
{
args.Result = CompareBudgetCostResult;
}
}
}
==========
WorkflowBranching.cs file:
==========================
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 BranchingWorkflow.BranchingWorkflow
{
public sealed partial class BranchingWorkflow : SequentialWorkflowActivity
{
public Guid workflowId = default(System.Guid);
// Stage 1: Initial Proposal Details stage. Replace GUIDs with your values.
public Guid stage1Guid = new Guid("4fd56302-cb51-4a81-958c-47d499456a61");
// Stage 2: Proposal Details stage.
public Guid stage2Guid = new Guid("400060e9-5f2b-4e60-82f6-451b83165190");
// Stage 3: Automated Rejection stage.
public Guid stage3Guid = new Guid("c39007f5-9338-4a0f-af99-761dc7a2e97c");
// Stage 4: Execution stage.
public Guid stage4Guid = new Guid("43a1eb7b-562d-42e8-9a96-88817ef74295");
// Custom field: Sample Proposal Cost.
public Guid proposedCostUid = new Guid("dc68b96a-965e-4b25-ac8a-15a5df729831");
public BranchingWorkflow()
{
wfContext = new Microsoft.SharePoint.WorkflowActions.WorkflowContext();
InitializeComponent();
}
// Class property for the workflow properties.
public SPWorkflowActivationProperties workflowProperties
{ get; set; }
// Class property for the workflow context.
public Microsoft.SharePoint.WorkflowActions.WorkflowContext wfContext
{ get; set; }
// Dispose the workflow properties and workflow context when disposing the workflow.
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
if (disposing)
{
wfContext.Dispose();
workflowProperties.Dispose();
}
}
// Event handler for the OnWorkflowActivated activity; initializes the workflow context.
private void onWorkflowActivated1_Invoked(object sender, ExternalDataEventArgs e)
{
wfContext.Initialize(workflowProperties);
}
// Property for comparing the budget cost result.
public bool CompareBudgetCostResult
{ get; set; }
// Method to compare the budget cost.
internal void CompareBudgetCost(object sender, ConditionalEventArgs args)
{
args.Result = CompareBudgetCostResult;
}
}
}
Thursday, 17 March 2011
Proposal Workflow project server 2010
Proposal Workflow project server 2010 steps:
================================
Step1:
Add Business Drivers in drivers Library
step2:
CREATE PHASE(Fill proposal DATA) -->Related to Portfolio
step 3:
SELECT PHASE & PLAN PHASE(GO THOUGH THE Strategy links in quick launch and In portfolio analasys Analyze check the time-phased project resource requirements against organizational resource capacity) -->Related to Portfolio
step 4:
Manage Phase(Fill the project document with 100% completed tasks USING SCHEDULE PAGE & SAVE-->SUBMIT)--->Related to Project Management
step 5:
FINISHED PHASE(CLICK ON POST IMPLIMENTION LINK IN QUICK LAUNCH AND FILL)
Thursday, 10 March 2011
Project Server 2010 Proposal Workflow Phases
Steps for Proposal Workflow in Project Server 2010 :
=======================================
1.Proposal creation.
2.Proposal selection(Based on conditions).
3.Plan(Resource plan, scheduling).
4.Manage(Project Execution how much % completed changing the project work sheet by providing %).
5.Finish.
Note:
=====
1,2 =>Portfolio related.
3,4 =>Project Management related.
Each step is one Phase.
Workflow is collection of Phases
Phase is collection of stages
Each Stage is collection of site pages.
Subscribe to:
Comments (Atom)
