Posts

Showing posts from February, 2008

INFOPATH FORMS in MOSS CUSTOM WORKFLOWS

Using InfoPath forms in Custom Workflows for MOSS 1) Never clone an InfoPath form it is not a good practice. InfoPath has a unique internal ID that will also copy over to new form and can create issues when both forms are used in a WF set up. 2) Always ensure that " network " published InfoPath forms (*.xsn) listed under Metadata section of "workflow.xml" (part of WF solution) exists and are under the correct folder location. Delete the references of forms not being used from "workflow.xml" which otherwise will lead to errors like "Form is closed". 3) Ensure that with every change done to the InfoPath form is acknowledged by publishing the InfoPath form to the network. 4) Ensure that every change made to the project will be accounted by redeploying the *.dll in GAC. 5) Uninstall/Install the feature. Workflows that are already in progress will be updated with the new changes. Keep this is mind before applying the changes. Accordingly wait for &qu

Deploying CUSTOM Workflow developed in MOSS

1) Create a directory with the name of the project in the c:\programfiles\commonfiles\MicrosoftShared\webserver extensions\12\Template\Features\ 2)Copy the worklfow and feature xml files to the folder that you have created above 3)Copy any InfoPath forms that are there also to this folder 4)Copy any ASPX forms to the c:\programfiles\commonfiles\MicrosoftShared\webserver extensions\12\Template\Layouts\ 5)Drag drop the Workflow "*.dll" file into the assemply folder in the c:\ 6)Use the STSADM tool and install and activate the Workflow.

Workflows in MOSS 2007

Workflows basically comes in two flavours: 1) Human-Centric : People are the prime participants and completers of tasks 2) Machine -Centric : Computers are the prime participants and completers of tasks Now that you have understood the flavours of workflows now let me help you understand the Types of Workflows: 1) Sequential Workflows : The process has a beginning , a definite path and an end. 2) StateMachine Workflows : The process involvesa lot of complex activities and human intervention. It works around two concepts States,Events. a) State : A condition that represents the curent status of the workflow b) Event : manages the movement of the worklfow from one state to another OOB Workflows in MOSS : All workflows that come along with the MOSS are 2 step workflows and cover some basic workflow scenarios CUSTOM Workflows : Custom workflows can be developed using either the SHAREPOINT DESIGNER or the MICROSOFT VISUAL STUDIO THUMBRULE for Workflows 1) Custom workflows that are sequ