SlideShare a Scribd company logo
Presentation by Mark Bauman .NET Developers Group
What is Workflow? In general terms workflow is: Work to do (activities) and the related business process flow A term used to describe activity tasks, procedural steps, and the people involved with the process A word that generates 3,670,000 hits on Google
Some Workflow Scenarios Financial team document review and approval process IT incident open form with on-call email alerts and form archival Automated document move from public SharePoint library to controlled permissions based library Document expiration date move to archive repository Calendar  event driven workflows Shopping cart workflow
Microsoft Workflow Overview Workflow Foundation (WF) is a Microsoft technology for defining, executing, and managing workflows. This technology was first released as a part of the .NET 3.0 Framework Workflow is a process that defines and controls the completion of one or more tasks. Workflows typically fall under 2 categories:  Human-centric  (people participation) and  Machine-centric  (system based) WF enabled applications use a declarative programming model rather than a procedural one, separating what to do from when to do it
Microsoft Workflow Overview A Workflow is not directly executable.  It is designed only to exist within another process called the  host Hosts include: SharePoint (MOSS/WSS) Windows console applications Windows service applications Windows forms (WinForms) applications Windows Presentation Foundation (WPF) applications ASP.NET web applications WF is a set of objects that expose functionality, WF does not expose a user interface (UI).  The host exposes the UI to create and manage the workflow
Workflow Authoring/Publishing Workflows can be created  via: SharePoint out-of-the-box:  (no-code OOTB).  Standard templates  include: Approval (routes a document for approval), Collect Feedback (routes a document for review), Collect Signatures (gathers signatures), Disposition Approval (manages document expiration and retention) SharePoint Designer:  (no-code rules based). SPD has a limitation of a single document library or list in a single SharePoint site.  Published as xoml rules file.  Visual Studio:  (code/rules). VS workflow is typically installed as a feature that can be used across multiple SharePoint sites
Workflow Lifecycle The life cycle of the workflow instances are managed by the workflow runtime The WF runtime is responsible for creating, executing, threading, persisting, tracking, communicating execution events, and coordinating transactions
Workflow Architecture
Core WF Namespaces Namespace Description Location System.Workflow.Activities WF Base Activities GAC System.Workflow.ComponentModel WF Core  base classes GAC System.Workflow.Runtime WF Runtime GAC System.WorkflowServices WF Services GAC Microsoft.SharePoint.WorkflowActions SharePoint WF Activity Library C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI
Visual Studio Code Files Visual Studio main workflow files: Workflow1.cs  contains the business logic Workflow1.designer.cs  contains the model definitions Workflow1.rules  contains the serialized rule definitions (stored as an embedded resource in the compiled assembly)
Location of SharePoint Assembly References SharePoint assemblies located in  C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\ISAPI directory
Workflow Activities Activities are the building blocks for workflows, and are  .NET components. They are the steps in a workflow. Activities inherit from the Activity class or the SequenceActivity class
Types of Activities There are  simple  and  composite  activities.  Simple usually does one thing, like send email.  Composite activities act as a container for other activities, such as IfElse Activity categories include: Event Handling, Flow Control, Rules, State Management, Workflow Services, Transactions, Custom Workflow Logic, Exception and Error Handling, etc. There are SharePoint WF Activities, .NET 3.0 Activities, and .NET 3.5 Activities for WCF
Sequential Workflow There are 2 types of  workflows: Sequential and State Machine Sequential Workflow   (linear: progresses from one activity step to next and does not step back)
State Machine State Machine Workflow  (Progresses from State to State:  are more complex and can return to a previous step if required)
SharePoint WF Template/Deployment SharePoint extends WF by introducing the concept of a  workflow template/feature VS 2008 has a deploy tool VS 2005: deploy a custom SharePoint workflow by installing the assembly dll into the GAC, install the feature.xml and workflow.xml files, install the feature via the stsadm.exe, and then activate the feature in the site collection
Correlation Tokens The correlation token is the mechanism the workflow runtime uses to identify the running instance of the workflow Correlation token properties ensure that the single activity object is operating on the correct payload instance and accessing the correct details about the workflow
Workflow Rules WF provides a general-purpose rules engine Rules provide another way to implement business logic that complements code and activities Rules are organized into logical groupings know as  rule sets Rules are stored in the .rules file and are embedded in the assembly
Workflow Persistence Workflows persist when they hit an idle or wait state For SharePoint, the workflow is persisted in the dbo.Workflow and dbo.WorkflowAssociation tables in the SharePoint content database  Non-SharePoint hosts need to build their own tables first and then use the SqlWorkflowPersistenceService or WorkflowPersistenceService.  Need to build the tables using SqlPersistenceService_Logic.sql and SqlPersistenceService_Schema.sql scripts.
Workflow Tracking Enables hosts to observe workflow instances during execution by capturing events that are raised during workflow execution Workflow has one primary service which is SqlTrackingService Built in tracking is actually divided in three parts: Activity Tracking, Workflow Tracking, and User Tracking
Workflow SharePoint UI Forms SharePoint can have any of the following Workflow forms:  Association form, Initiation form, Modification form, Task Edit form Can create custom forms via InfoPath or ASP.NET
Workflow Debugging The WF design and runtime tools include an integrated workflow debugger which attaches to w3wp worker process to debug Be careful not to debug workflows on SharePoint production servers. While you are debugging your workflow,  with break-points enabled, your SharePoint Site will be “halted” for other users
Setting up Visual Studio VS 2008 includes WF Extensions Install WF Project Extensions for VS 2005 VS needs to be installed on a MOSS instance for SharePoint WF development
Useful Links MSDN Workflow Videos: http://channel9.msdn.com/tags/Windows+Workflow/ MSDN Windows Workflow Foundation: http://msdn.microsoft.com/en-us/netframework/aa663328.aspx MSDN Workflow  SharePoint Services Overview: http://msdn.microsoft.com/en-us/library/ms416312.aspx MS SharePoint Team Blog – Workflow: http://blogs.msdn.com/sharepoint/archive/tags/Workflow/default.aspx
Demos SharePoint out-of-the-box SharePoint Designer Visual Studio
Ad

More Related Content

What's hot (20)

Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
BizTalk360
 
Workflow Manager for Software License Optimization
Workflow Manager for Software License OptimizationWorkflow Manager for Software License Optimization
Workflow Manager for Software License Optimization
Flexera
 
C# Advanced L10-Workflow Foundation
C# Advanced L10-Workflow FoundationC# Advanced L10-Workflow Foundation
C# Advanced L10-Workflow Foundation
Mohammad Shaker
 
[Struyf] Automate Your Tasks With Azure Functions
[Struyf] Automate Your Tasks With Azure Functions[Struyf] Automate Your Tasks With Azure Functions
[Struyf] Automate Your Tasks With Azure Functions
European Collaboration Summit
 
SPS vancouver is it possible to do devops with SharePoint Framework
SPS vancouver is it possible to do devops with SharePoint FrameworkSPS vancouver is it possible to do devops with SharePoint Framework
SPS vancouver is it possible to do devops with SharePoint Framework
Vincent Biret
 
RPI Infor Process Automation Presentation
RPI Infor Process Automation PresentationRPI Infor Process Automation Presentation
RPI Infor Process Automation Presentation
Richard Leigh Stout
 
ECS19 - Ingo Gegenwarth - Running Exchange in large environment
ECS19 - Ingo Gegenwarth -  Running Exchangein large environmentECS19 - Ingo Gegenwarth -  Running Exchangein large environment
ECS19 - Ingo Gegenwarth - Running Exchange in large environment
European Collaboration Summit
 
Install, configure and customize TFS 2013
Install, configure and customize TFS 2013Install, configure and customize TFS 2013
Install, configure and customize TFS 2013
Davide Benvegnù
 
20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager
BTUGbe
 
Chris O'Brien - Modern SharePoint development: techniques for moving code off...
Chris O'Brien - Modern SharePoint development: techniques for moving code off...Chris O'Brien - Modern SharePoint development: techniques for moving code off...
Chris O'Brien - Modern SharePoint development: techniques for moving code off...
Chris O'Brien
 
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
Vincent Biret
 
Activiti bpm
Activiti bpmActiviti bpm
Activiti bpm
vaibhav maniar
 
Build a SharePoint website in 60 minutes
Build a SharePoint website in 60 minutesBuild a SharePoint website in 60 minutes
Build a SharePoint website in 60 minutes
Ben Robb
 
TFS Administration Overview
TFS Administration OverviewTFS Administration Overview
TFS Administration Overview
Steve Lange
 
Building high scale, highly available websites in SharePoint 2010
Building high scale, highly available websites in SharePoint 2010Building high scale, highly available websites in SharePoint 2010
Building high scale, highly available websites in SharePoint 2010
Ben Robb
 
Workflows for share point 2013
Workflows for share point 2013Workflows for share point 2013
Workflows for share point 2013
Prabath Fonseka
 
SPC Adriatics 2013 - Working with the new SharePoint Online Apps by Toni Pohl
SPC Adriatics 2013 - Working with the new SharePoint Online Apps by Toni PohlSPC Adriatics 2013 - Working with the new SharePoint Online Apps by Toni Pohl
SPC Adriatics 2013 - Working with the new SharePoint Online Apps by Toni Pohl
atwork
 
Chris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 apps
Chris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 appsChris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 apps
Chris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 apps
Chris O'Brien
 
Rpa automation anywhere training in hyderabad
Rpa automation anywhere training in hyderabadRpa automation anywhere training in hyderabad
Rpa automation anywhere training in hyderabad
Rajitha D
 
Deployment Automation in de praktijk
Deployment Automation in de praktijkDeployment Automation in de praktijk
Deployment Automation in de praktijk
Delta-N
 
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
BizTalk360
 
Workflow Manager for Software License Optimization
Workflow Manager for Software License OptimizationWorkflow Manager for Software License Optimization
Workflow Manager for Software License Optimization
Flexera
 
C# Advanced L10-Workflow Foundation
C# Advanced L10-Workflow FoundationC# Advanced L10-Workflow Foundation
C# Advanced L10-Workflow Foundation
Mohammad Shaker
 
SPS vancouver is it possible to do devops with SharePoint Framework
SPS vancouver is it possible to do devops with SharePoint FrameworkSPS vancouver is it possible to do devops with SharePoint Framework
SPS vancouver is it possible to do devops with SharePoint Framework
Vincent Biret
 
RPI Infor Process Automation Presentation
RPI Infor Process Automation PresentationRPI Infor Process Automation Presentation
RPI Infor Process Automation Presentation
Richard Leigh Stout
 
ECS19 - Ingo Gegenwarth - Running Exchange in large environment
ECS19 - Ingo Gegenwarth -  Running Exchangein large environmentECS19 - Ingo Gegenwarth -  Running Exchangein large environment
ECS19 - Ingo Gegenwarth - Running Exchange in large environment
European Collaboration Summit
 
Install, configure and customize TFS 2013
Install, configure and customize TFS 2013Install, configure and customize TFS 2013
Install, configure and customize TFS 2013
Davide Benvegnù
 
20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager
BTUGbe
 
Chris O'Brien - Modern SharePoint development: techniques for moving code off...
Chris O'Brien - Modern SharePoint development: techniques for moving code off...Chris O'Brien - Modern SharePoint development: techniques for moving code off...
Chris O'Brien - Modern SharePoint development: techniques for moving code off...
Chris O'Brien
 
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
Vincent Biret
 
Build a SharePoint website in 60 minutes
Build a SharePoint website in 60 minutesBuild a SharePoint website in 60 minutes
Build a SharePoint website in 60 minutes
Ben Robb
 
TFS Administration Overview
TFS Administration OverviewTFS Administration Overview
TFS Administration Overview
Steve Lange
 
Building high scale, highly available websites in SharePoint 2010
Building high scale, highly available websites in SharePoint 2010Building high scale, highly available websites in SharePoint 2010
Building high scale, highly available websites in SharePoint 2010
Ben Robb
 
Workflows for share point 2013
Workflows for share point 2013Workflows for share point 2013
Workflows for share point 2013
Prabath Fonseka
 
SPC Adriatics 2013 - Working with the new SharePoint Online Apps by Toni Pohl
SPC Adriatics 2013 - Working with the new SharePoint Online Apps by Toni PohlSPC Adriatics 2013 - Working with the new SharePoint Online Apps by Toni Pohl
SPC Adriatics 2013 - Working with the new SharePoint Online Apps by Toni Pohl
atwork
 
Chris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 apps
Chris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 appsChris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 apps
Chris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 apps
Chris O'Brien
 
Rpa automation anywhere training in hyderabad
Rpa automation anywhere training in hyderabadRpa automation anywhere training in hyderabad
Rpa automation anywhere training in hyderabad
Rajitha D
 
Deployment Automation in de praktijk
Deployment Automation in de praktijkDeployment Automation in de praktijk
Deployment Automation in de praktijk
Delta-N
 

Similar to Workflow Foundation (Wf) Presentation (20)

Introduction To Windows Workflow In Windows Share Point
Introduction To Windows Workflow In Windows Share PointIntroduction To Windows Workflow In Windows Share Point
Introduction To Windows Workflow In Windows Share Point
Kashif Akram
 
Wwf
WwfWwf
Wwf
Vishwa Mohan
 
Workflow in SharePoint 2010
Workflow in SharePoint 2010Workflow in SharePoint 2010
Workflow in SharePoint 2010
barryboudreau
 
ORCAS
ORCASORCAS
ORCAS
mdfachowdhury
 
MS flow.docx
MS flow.docxMS flow.docx
MS flow.docx
Sharepoint Designs
 
Nintex Workflows 2007 Evaluation
Nintex Workflows 2007 EvaluationNintex Workflows 2007 Evaluation
Nintex Workflows 2007 Evaluation
Sourav Nayyar
 
Sharepoint 2010 document managment and workflow
Sharepoint 2010 document managment and workflowSharepoint 2010 document managment and workflow
Sharepoint 2010 document managment and workflow
Mahmoud Aljarood
 
SharePoint Saturday Workflow in Action
SharePoint Saturday Workflow in ActionSharePoint Saturday Workflow in Action
SharePoint Saturday Workflow in Action
Elaine Van Bergen
 
Share point 2013 features Workflow
Share point 2013 features WorkflowShare point 2013 features Workflow
Share point 2013 features Workflow
Raghu Raja
 
Workflow management coalition (wfmc) standards
Workflow management coalition (wfmc) standardsWorkflow management coalition (wfmc) standards
Workflow management coalition (wfmc) standards
khansaabubkr
 
Spsto 2013 whats_newinworkflows_amitvasu.
Spsto 2013 whats_newinworkflows_amitvasu.Spsto 2013 whats_newinworkflows_amitvasu.
Spsto 2013 whats_newinworkflows_amitvasu.
amitvasu
 
How to Create SharePoint Workflows
How to Create SharePoint WorkflowsHow to Create SharePoint Workflows
How to Create SharePoint Workflows
BizPortals365
 
About work flow
About work flowAbout work flow
About work flow
Narender Singh
 
]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4
Klaus Hofeditz
 
Processes automation with SharePoint
Processes automation with SharePointProcesses automation with SharePoint
Processes automation with SharePoint
it Consult
 
Java workflow engines
Java workflow enginesJava workflow engines
Java workflow engines
Mohammed Fazuluddin
 
The Future Of Work And Workflow
The Future Of Work And WorkflowThe Future Of Work And Workflow
The Future Of Work And Workflow
Brandon Satrom
 
Streamlining Business Processes with InfoPath and SharePoint
Streamlining Business Processes with InfoPath and SharePointStreamlining Business Processes with InfoPath and SharePoint
Streamlining Business Processes with InfoPath and SharePoint
Rob Wilson
 
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer PlatformSoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
Ivan Sanders
 
Share point2013 office365_workflows_sergeluca_spc_adriatics2014
Share point2013 office365_workflows_sergeluca_spc_adriatics2014Share point2013 office365_workflows_sergeluca_spc_adriatics2014
Share point2013 office365_workflows_sergeluca_spc_adriatics2014
serge luca
 
Introduction To Windows Workflow In Windows Share Point
Introduction To Windows Workflow In Windows Share PointIntroduction To Windows Workflow In Windows Share Point
Introduction To Windows Workflow In Windows Share Point
Kashif Akram
 
Workflow in SharePoint 2010
Workflow in SharePoint 2010Workflow in SharePoint 2010
Workflow in SharePoint 2010
barryboudreau
 
Nintex Workflows 2007 Evaluation
Nintex Workflows 2007 EvaluationNintex Workflows 2007 Evaluation
Nintex Workflows 2007 Evaluation
Sourav Nayyar
 
Sharepoint 2010 document managment and workflow
Sharepoint 2010 document managment and workflowSharepoint 2010 document managment and workflow
Sharepoint 2010 document managment and workflow
Mahmoud Aljarood
 
SharePoint Saturday Workflow in Action
SharePoint Saturday Workflow in ActionSharePoint Saturday Workflow in Action
SharePoint Saturday Workflow in Action
Elaine Van Bergen
 
Share point 2013 features Workflow
Share point 2013 features WorkflowShare point 2013 features Workflow
Share point 2013 features Workflow
Raghu Raja
 
Workflow management coalition (wfmc) standards
Workflow management coalition (wfmc) standardsWorkflow management coalition (wfmc) standards
Workflow management coalition (wfmc) standards
khansaabubkr
 
Spsto 2013 whats_newinworkflows_amitvasu.
Spsto 2013 whats_newinworkflows_amitvasu.Spsto 2013 whats_newinworkflows_amitvasu.
Spsto 2013 whats_newinworkflows_amitvasu.
amitvasu
 
How to Create SharePoint Workflows
How to Create SharePoint WorkflowsHow to Create SharePoint Workflows
How to Create SharePoint Workflows
BizPortals365
 
]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4
Klaus Hofeditz
 
Processes automation with SharePoint
Processes automation with SharePointProcesses automation with SharePoint
Processes automation with SharePoint
it Consult
 
The Future Of Work And Workflow
The Future Of Work And WorkflowThe Future Of Work And Workflow
The Future Of Work And Workflow
Brandon Satrom
 
Streamlining Business Processes with InfoPath and SharePoint
Streamlining Business Processes with InfoPath and SharePointStreamlining Business Processes with InfoPath and SharePoint
Streamlining Business Processes with InfoPath and SharePoint
Rob Wilson
 
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer PlatformSoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
Ivan Sanders
 
Share point2013 office365_workflows_sergeluca_spc_adriatics2014
Share point2013 office365_workflows_sergeluca_spc_adriatics2014Share point2013 office365_workflows_sergeluca_spc_adriatics2014
Share point2013 office365_workflows_sergeluca_spc_adriatics2014
serge luca
 
Ad

Recently uploaded (20)

tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Ad

Workflow Foundation (Wf) Presentation

  • 1. Presentation by Mark Bauman .NET Developers Group
  • 2. What is Workflow? In general terms workflow is: Work to do (activities) and the related business process flow A term used to describe activity tasks, procedural steps, and the people involved with the process A word that generates 3,670,000 hits on Google
  • 3. Some Workflow Scenarios Financial team document review and approval process IT incident open form with on-call email alerts and form archival Automated document move from public SharePoint library to controlled permissions based library Document expiration date move to archive repository Calendar event driven workflows Shopping cart workflow
  • 4. Microsoft Workflow Overview Workflow Foundation (WF) is a Microsoft technology for defining, executing, and managing workflows. This technology was first released as a part of the .NET 3.0 Framework Workflow is a process that defines and controls the completion of one or more tasks. Workflows typically fall under 2 categories: Human-centric (people participation) and Machine-centric (system based) WF enabled applications use a declarative programming model rather than a procedural one, separating what to do from when to do it
  • 5. Microsoft Workflow Overview A Workflow is not directly executable. It is designed only to exist within another process called the host Hosts include: SharePoint (MOSS/WSS) Windows console applications Windows service applications Windows forms (WinForms) applications Windows Presentation Foundation (WPF) applications ASP.NET web applications WF is a set of objects that expose functionality, WF does not expose a user interface (UI). The host exposes the UI to create and manage the workflow
  • 6. Workflow Authoring/Publishing Workflows can be created via: SharePoint out-of-the-box: (no-code OOTB). Standard templates include: Approval (routes a document for approval), Collect Feedback (routes a document for review), Collect Signatures (gathers signatures), Disposition Approval (manages document expiration and retention) SharePoint Designer: (no-code rules based). SPD has a limitation of a single document library or list in a single SharePoint site. Published as xoml rules file. Visual Studio: (code/rules). VS workflow is typically installed as a feature that can be used across multiple SharePoint sites
  • 7. Workflow Lifecycle The life cycle of the workflow instances are managed by the workflow runtime The WF runtime is responsible for creating, executing, threading, persisting, tracking, communicating execution events, and coordinating transactions
  • 9. Core WF Namespaces Namespace Description Location System.Workflow.Activities WF Base Activities GAC System.Workflow.ComponentModel WF Core base classes GAC System.Workflow.Runtime WF Runtime GAC System.WorkflowServices WF Services GAC Microsoft.SharePoint.WorkflowActions SharePoint WF Activity Library C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI
  • 10. Visual Studio Code Files Visual Studio main workflow files: Workflow1.cs contains the business logic Workflow1.designer.cs contains the model definitions Workflow1.rules contains the serialized rule definitions (stored as an embedded resource in the compiled assembly)
  • 11. Location of SharePoint Assembly References SharePoint assemblies located in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\ISAPI directory
  • 12. Workflow Activities Activities are the building blocks for workflows, and are .NET components. They are the steps in a workflow. Activities inherit from the Activity class or the SequenceActivity class
  • 13. Types of Activities There are simple and composite activities. Simple usually does one thing, like send email. Composite activities act as a container for other activities, such as IfElse Activity categories include: Event Handling, Flow Control, Rules, State Management, Workflow Services, Transactions, Custom Workflow Logic, Exception and Error Handling, etc. There are SharePoint WF Activities, .NET 3.0 Activities, and .NET 3.5 Activities for WCF
  • 14. Sequential Workflow There are 2 types of workflows: Sequential and State Machine Sequential Workflow (linear: progresses from one activity step to next and does not step back)
  • 15. State Machine State Machine Workflow (Progresses from State to State: are more complex and can return to a previous step if required)
  • 16. SharePoint WF Template/Deployment SharePoint extends WF by introducing the concept of a workflow template/feature VS 2008 has a deploy tool VS 2005: deploy a custom SharePoint workflow by installing the assembly dll into the GAC, install the feature.xml and workflow.xml files, install the feature via the stsadm.exe, and then activate the feature in the site collection
  • 17. Correlation Tokens The correlation token is the mechanism the workflow runtime uses to identify the running instance of the workflow Correlation token properties ensure that the single activity object is operating on the correct payload instance and accessing the correct details about the workflow
  • 18. Workflow Rules WF provides a general-purpose rules engine Rules provide another way to implement business logic that complements code and activities Rules are organized into logical groupings know as rule sets Rules are stored in the .rules file and are embedded in the assembly
  • 19. Workflow Persistence Workflows persist when they hit an idle or wait state For SharePoint, the workflow is persisted in the dbo.Workflow and dbo.WorkflowAssociation tables in the SharePoint content database Non-SharePoint hosts need to build their own tables first and then use the SqlWorkflowPersistenceService or WorkflowPersistenceService. Need to build the tables using SqlPersistenceService_Logic.sql and SqlPersistenceService_Schema.sql scripts.
  • 20. Workflow Tracking Enables hosts to observe workflow instances during execution by capturing events that are raised during workflow execution Workflow has one primary service which is SqlTrackingService Built in tracking is actually divided in three parts: Activity Tracking, Workflow Tracking, and User Tracking
  • 21. Workflow SharePoint UI Forms SharePoint can have any of the following Workflow forms: Association form, Initiation form, Modification form, Task Edit form Can create custom forms via InfoPath or ASP.NET
  • 22. Workflow Debugging The WF design and runtime tools include an integrated workflow debugger which attaches to w3wp worker process to debug Be careful not to debug workflows on SharePoint production servers. While you are debugging your workflow, with break-points enabled, your SharePoint Site will be “halted” for other users
  • 23. Setting up Visual Studio VS 2008 includes WF Extensions Install WF Project Extensions for VS 2005 VS needs to be installed on a MOSS instance for SharePoint WF development
  • 24. Useful Links MSDN Workflow Videos: http://channel9.msdn.com/tags/Windows+Workflow/ MSDN Windows Workflow Foundation: http://msdn.microsoft.com/en-us/netframework/aa663328.aspx MSDN Workflow SharePoint Services Overview: http://msdn.microsoft.com/en-us/library/ms416312.aspx MS SharePoint Team Blog – Workflow: http://blogs.msdn.com/sharepoint/archive/tags/Workflow/default.aspx
  • 25. Demos SharePoint out-of-the-box SharePoint Designer Visual Studio