SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Developing Reusable Workflow Features (Fri-S2A-106)Dev Track – 200 Mike Oryszak (@next_connect) Intellinet Aug 12, 2011 Welcome to SharePoint Saturday—The Conference
Welcome to SharePoint Saturday—The Conference Thank you for being a part of the first SharePoint Saturday conference Please turn off all electronic devices or set them to vibrate. If you must take a phone call, please do so in the hall so as not to disturb others. Open wireless access is available at SSID:  SPSTC2011 Feel free to “tweet and blog” during the session Thanks to our Diamond and Platinum Sponsors:
About Me Practice Manager with Intellinet Microsoft SharePoint Server MVP Dev and Architect with MS stack since 1996 Working with SharePoint since 2002 Raleigh-Durham, NC Area since 1998
Outline & Agenda Approach and Goals Overview on Creating Custom Actions Example 1 – Budget Approval Limits Example 2 – Out of Office Delegation Additional Examples Wrap-up and Questions
Approach and Goals Developing Reusable Workflow Features
Approach and Goals Common Workflow Limitations Workflows developed one at a time Config and Admin content is localized – Silos Maintaining data difficult, and process admin focused
Approach and Goals Reuse Goals Centralize common configuration data Leverage central farm services Make it easier for users to maintain their data Reduce time to create new workflows Improve efficiency of managing workflows
Approach and Goals Approaches Take a “Portfolio Approach” to process design Change data lookup sources from local to central Budget Approval Limit example Out of Office Delegation example Group common calls into Actions or Services Out of Office Delegation example Check Request example
Approach and Goals Approaches Leverage central services like User Profiles, BCS Budget Approval example Out of Office Delegation example Link workflows together; start workflow from another Check Request example
Creating Custom Actions Developing Reusable Workflow Features
Full Trust Actions Approaches Leverage central services like User Profiles, BCS Budget Approval example Out of Office Delegation example Link workflows together; start workflow from another Check Request example
Full Trust Action Implementation Important Namespaces System.Workflow.ComponentModel Microsoft.SharePoint.Workflow Microsoft.SharePoint.WorkflowActions Key Dev Tasks Define Properties Override ActivityExecutionStatus Execute Override ActivityExecutionStatusHandleFault Create WorkflowActions definition in Elements.xml
Sandbox Actions Developed in Visual Studio Limited to Site Collection boundaries Does not require server admin to deploy; O365 Provides a way to create simple reusable features
Sandbox Action Implementation Important Namespaces Microsoft.SharePoint.Workflow Microsoft.SharePoint.UserCode Key Dev Tasks Action must return a Hashtable Action must accept a SPUserCodeWorkflowContext as the first argument Create WorkflowActions definition in Elements.xml
Budget Approval Limits Developing Reusable Workflow Features
Budget Approval Overview A common example of data needed to support an approval workflow Centralize the data so that it is available for multiple processes Leverage services like User Profile and BCS
Bad Approach Load Budget For Approver Issues: ,[object Object]
Separate Maintenance
Out of Sync,[object Object]
Can Sync (BCS)
Distributed Management,[object Object]
Out of Office Delegation Developing Reusable Workflow Features
Out of Office Delegation Overview SharePoint has built-in Out of Office Delegation Great example of User Maintained config data Great example of leveraging User Profiles
Bad Approach Building it into each process, with localized data stored in a list on the workflow site Process Admin Maintains it Data stored in multiple places Workflow steps maintained in multiple places
Alternative Approach Out of Office Delegation Feature User Profile Custom Attributes Out of Office Start Date Out of Office End Date Out of Office Delegation Custom Workflow Action Simplifies check from SPD workflows
Demo
Additional Examples Developing Reusable Workflow Features
Additional Examples Standard Feature Requests Escalations Task Reminders Role Based Assignments (CFO, Ops Mgr, etc) Frequent Re-usable Processes Check Request Compliance Activity Logging
Initiating Another Workflow Create Reusable Sub-Processes Use Standard Events New Item Edit Item Can use Full Trust Actions to add/edit items between site collections
Check Request Overview Check Request is an example of a process that may be initiated from multiple processes Could be built into each process, or separated into a separate “sub-process” for reuse
Bad Approach Issues: ,[object Object]
AP users have tasks in x sites
Multiple places to update if process changes
Process owners may not understand other uses,[object Object]
Easy access for AP users
Easy to maintain and monitor,[object Object]
Recommended Approaches Take a “Portfolio Approach” to process design Change data lookup sources from local to central Group common functions or calls into Actions or Services Leverage central services like User Profiles, BCS Link workflows together; start workflow from another

Weitere ähnliche Inhalte

Was ist angesagt?

Shop talk - Project Server 2013
Shop talk - Project Server 2013Shop talk - Project Server 2013
Shop talk - Project Server 2013
Chris Givens
 

Was ist angesagt? (20)

Automate business processes using SharePoint Designer Workflows
Automate business processes using SharePoint Designer WorkflowsAutomate business processes using SharePoint Designer Workflows
Automate business processes using SharePoint Designer Workflows
 
Wonderware Skelta BPM Software Brochure
Wonderware Skelta BPM Software BrochureWonderware Skelta BPM Software Brochure
Wonderware Skelta BPM Software Brochure
 
CPS - Transitioning from SharePoint to Project Server 2013 for Enterprise Pro...
CPS - Transitioning from SharePoint to Project Server 2013 for Enterprise Pro...CPS - Transitioning from SharePoint to Project Server 2013 for Enterprise Pro...
CPS - Transitioning from SharePoint to Project Server 2013 for Enterprise Pro...
 
Microsoft Project Online for Project Managers
Microsoft Project Online for Project ManagersMicrosoft Project Online for Project Managers
Microsoft Project Online for Project Managers
 
SharePoint Saturday Workflow in Action
SharePoint Saturday Workflow in ActionSharePoint Saturday Workflow in Action
SharePoint Saturday Workflow in Action
 
Tech Ed 2006 South East Asia Security And Compliance by Joel Oleson
Tech Ed 2006 South East Asia Security And Compliance by Joel OlesonTech Ed 2006 South East Asia Security And Compliance by Joel Oleson
Tech Ed 2006 South East Asia Security And Compliance by Joel Oleson
 
Task Management Software
Task Management SoftwareTask Management Software
Task Management Software
 
Nintex attachment workflow
Nintex attachment workflowNintex attachment workflow
Nintex attachment workflow
 
Team Foundation Server 2010 - Version Control
Team Foundation Server 2010 - Version ControlTeam Foundation Server 2010 - Version Control
Team Foundation Server 2010 - Version Control
 
Workflow Manager for Software License Optimization
Workflow Manager for Software License OptimizationWorkflow Manager for Software License Optimization
Workflow Manager for Software License Optimization
 
What’s New in Project 2016, Project Server 2016, Project Online and Office 36...
What’s New in Project 2016, Project Server 2016, Project Online and Office 36...What’s New in Project 2016, Project Server 2016, Project Online and Office 36...
What’s New in Project 2016, Project Server 2016, Project Online and Office 36...
 
Team Foundation Server 2008 Overview
Team Foundation Server 2008 OverviewTeam Foundation Server 2008 Overview
Team Foundation Server 2008 Overview
 
Working as a Team with Team Foundation Server 2010
Working as a Team with Team Foundation Server 2010Working as a Team with Team Foundation Server 2010
Working as a Team with Team Foundation Server 2010
 
Cedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah Hurley
Cedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah HurleyCedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah Hurley
Cedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah Hurley
 
RTC & Work Item Customization Overview
RTC & Work Item Customization OverviewRTC & Work Item Customization Overview
RTC & Work Item Customization Overview
 
Getting Started with Project Online
Getting Started with Project OnlineGetting Started with Project Online
Getting Started with Project Online
 
Shop talk - Project Server 2013
Shop talk - Project Server 2013Shop talk - Project Server 2013
Shop talk - Project Server 2013
 
What's new in microsoft project server and professional 2013
What's new in microsoft project server and professional 2013What's new in microsoft project server and professional 2013
What's new in microsoft project server and professional 2013
 
Rational Team Concert source control for dummies
Rational Team Concert source control for dummiesRational Team Concert source control for dummies
Rational Team Concert source control for dummies
 
Defining business process and workflows
Defining business process and workflowsDefining business process and workflows
Defining business process and workflows
 

Ähnlich wie Spstc2011 Developing Reusable Workflow Features

Developing Reusable Workflow Features (SPS Richmond)
Developing Reusable Workflow Features (SPS Richmond)Developing Reusable Workflow Features (SPS Richmond)
Developing Reusable Workflow Features (SPS Richmond)
Michael Oryszak
 
07 a 01templates
07 a 01templates07 a 01templates
07 a 01templates
tflung
 
Solve Todays Problems with 10 New SharePoint 2010 Features
Solve Todays Problems with 10 New SharePoint 2010 FeaturesSolve Todays Problems with 10 New SharePoint 2010 Features
Solve Todays Problems with 10 New SharePoint 2010 Features
Cory Peters
 
Synergy 7.0 Sales 10312008
Synergy 7.0 Sales 10312008Synergy 7.0 Sales 10312008
Synergy 7.0 Sales 10312008
Bill Duncan
 

Ähnlich wie Spstc2011 Developing Reusable Workflow Features (20)

Developing Reusable Workflow Features (SPSVB)
Developing Reusable Workflow Features (SPSVB)Developing Reusable Workflow Features (SPSVB)
Developing Reusable Workflow Features (SPSVB)
 
SharePoint Workflow 2011
SharePoint Workflow 2011SharePoint Workflow 2011
SharePoint Workflow 2011
 
Developing Reusable Workflow Features (SPS Richmond)
Developing Reusable Workflow Features (SPS Richmond)Developing Reusable Workflow Features (SPS Richmond)
Developing Reusable Workflow Features (SPS Richmond)
 
Going with the Flow: Rationalizing the workflow options in SharePoint Online
Going with the Flow: Rationalizing the workflow options in SharePoint OnlineGoing with the Flow: Rationalizing the workflow options in SharePoint Online
Going with the Flow: Rationalizing the workflow options in SharePoint Online
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra us
 
07 a 01templates
07 a 01templates07 a 01templates
07 a 01templates
 
What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Day 2
What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Day 2What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Day 2
What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Day 2
 
Tfs Overview
Tfs OverviewTfs Overview
Tfs Overview
 
Solve Todays Problems with 10 New SharePoint 2010 Features
Solve Todays Problems with 10 New SharePoint 2010 FeaturesSolve Todays Problems with 10 New SharePoint 2010 Features
Solve Todays Problems with 10 New SharePoint 2010 Features
 
Synergy 7.0 Sales 10312008
Synergy 7.0 Sales 10312008Synergy 7.0 Sales 10312008
Synergy 7.0 Sales 10312008
 
Practical Guidance for SharePoint 2010 Upgrade
Practical Guidance for SharePoint 2010 UpgradePractical Guidance for SharePoint 2010 Upgrade
Practical Guidance for SharePoint 2010 Upgrade
 
Vs2008 to improve Development
Vs2008  to improve DevelopmentVs2008  to improve Development
Vs2008 to improve Development
 
Azure DevOps for Developers
Azure DevOps for DevelopersAzure DevOps for Developers
Azure DevOps for Developers
 
ASP.NET Core For The Agile Enterprise
ASP.NET Core For The Agile EnterpriseASP.NET Core For The Agile Enterprise
ASP.NET Core For The Agile Enterprise
 
Phase Two: What’s Next for Life Sciences and Enterprise Content Management
Phase Two: What’s Next for Life Sciences and Enterprise Content ManagementPhase Two: What’s Next for Life Sciences and Enterprise Content Management
Phase Two: What’s Next for Life Sciences and Enterprise Content Management
 
Workflow in SharePoint 2010
Workflow in SharePoint 2010Workflow in SharePoint 2010
Workflow in SharePoint 2010
 
Siebel 8 Quick Hits: Task UI
Siebel 8 Quick Hits: Task UISiebel 8 Quick Hits: Task UI
Siebel 8 Quick Hits: Task UI
 
Going to Oracle EBS Release 12? Upgrading Is Faster, Better and Cheaper than ...
Going to Oracle EBS Release 12? Upgrading Is Faster, Better and Cheaper than ...Going to Oracle EBS Release 12? Upgrading Is Faster, Better and Cheaper than ...
Going to Oracle EBS Release 12? Upgrading Is Faster, Better and Cheaper than ...
 
Whats newinmicrosoftdynamicsgp2013r2
Whats newinmicrosoftdynamicsgp2013r2Whats newinmicrosoftdynamicsgp2013r2
Whats newinmicrosoftdynamicsgp2013r2
 
Microsoft flow best practices SharePoint Saturday Bremen 2019 (Germany)
Microsoft flow best practices SharePoint Saturday Bremen 2019 (Germany)Microsoft flow best practices SharePoint Saturday Bremen 2019 (Germany)
Microsoft flow best practices SharePoint Saturday Bremen 2019 (Germany)
 

Mehr von Michael Oryszak

Unlocking the Power of SharePoint Search
Unlocking the Power of SharePoint SearchUnlocking the Power of SharePoint Search
Unlocking the Power of SharePoint Search
Michael Oryszak
 

Mehr von Michael Oryszak (20)

Xtending nintex workflow cloud w azure functions - xchange conference
Xtending nintex workflow cloud w azure functions - xchange conferenceXtending nintex workflow cloud w azure functions - xchange conference
Xtending nintex workflow cloud w azure functions - xchange conference
 
Making Workflow Automation Personal: The Next Step in Digital Transformation...
Making Workflow Automation Personal:  The Next Step in Digital Transformation...Making Workflow Automation Personal:  The Next Step in Digital Transformation...
Making Workflow Automation Personal: The Next Step in Digital Transformation...
 
Making Workflow Automation Personal: Next Step in Digital Transformation (SP...
Making Workflow Automation Personal:  Next Step in Digital Transformation (SP...Making Workflow Automation Personal:  Next Step in Digital Transformation (SP...
Making Workflow Automation Personal: Next Step in Digital Transformation (SP...
 
Making Workflow Automation Personal: The Next Step in Digital Transformation...
Making Workflow Automation Personal:  The Next Step in Digital Transformation...Making Workflow Automation Personal:  The Next Step in Digital Transformation...
Making Workflow Automation Personal: The Next Step in Digital Transformation...
 
Using Search to Unlock the Value of your Content - SPEngage2016
Using Search to Unlock the Value of your Content - SPEngage2016Using Search to Unlock the Value of your Content - SPEngage2016
Using Search to Unlock the Value of your Content - SPEngage2016
 
Intro to Delve - SPSATL 2016
Intro to Delve - SPSATL 2016Intro to Delve - SPSATL 2016
Intro to Delve - SPSATL 2016
 
Spsnyc 2016 JSLink Primer
Spsnyc 2016   JSLink PrimerSpsnyc 2016   JSLink Primer
Spsnyc 2016 JSLink Primer
 
Unlock the Value of your Content with Optimized Search Results - SPS NYC
Unlock the Value of your Content with Optimized Search Results - SPS NYCUnlock the Value of your Content with Optimized Search Results - SPS NYC
Unlock the Value of your Content with Optimized Search Results - SPS NYC
 
Optimize Search Results
Optimize Search ResultsOptimize Search Results
Optimize Search Results
 
Create Tailored Search Results through Customized Display Templates
Create Tailored Search Results through Customized Display TemplatesCreate Tailored Search Results through Customized Display Templates
Create Tailored Search Results through Customized Display Templates
 
Developing SP 2013 Display Templates
Developing SP 2013 Display TemplatesDeveloping SP 2013 Display Templates
Developing SP 2013 Display Templates
 
Create Tailored Search Results through Customized Display Templates
Create Tailored Search Results through Customized Display TemplatesCreate Tailored Search Results through Customized Display Templates
Create Tailored Search Results through Customized Display Templates
 
Dynamic Content using Search - SPS Nashville
Dynamic Content using Search - SPS NashvilleDynamic Content using Search - SPS Nashville
Dynamic Content using Search - SPS Nashville
 
Displaying Dynamic Content in SharePoint with Search
Displaying Dynamic Content in SharePoint with SearchDisplaying Dynamic Content in SharePoint with Search
Displaying Dynamic Content in SharePoint with Search
 
Intro to SharePoint's Social APIs - SharePoint Sat NYC 2013
Intro to SharePoint's Social APIs - SharePoint Sat NYC 2013Intro to SharePoint's Social APIs - SharePoint Sat NYC 2013
Intro to SharePoint's Social APIs - SharePoint Sat NYC 2013
 
Spsatl2013 Displaying Dynamic Content With SharePoint Search
Spsatl2013   Displaying Dynamic Content With SharePoint SearchSpsatl2013   Displaying Dynamic Content With SharePoint Search
Spsatl2013 Displaying Dynamic Content With SharePoint Search
 
Spsatl2013 Introduction to the SharePoint's Social APIs
Spsatl2013   Introduction to the SharePoint's Social APIsSpsatl2013   Introduction to the SharePoint's Social APIs
Spsatl2013 Introduction to the SharePoint's Social APIs
 
Unlocking the Power of SharePoint Search
Unlocking the Power of SharePoint SearchUnlocking the Power of SharePoint Search
Unlocking the Power of SharePoint Search
 
Developer FAST Queries (SPS NY)
Developer FAST Queries (SPS NY)Developer FAST Queries (SPS NY)
Developer FAST Queries (SPS NY)
 
Developing FAST Queries - SPSATL
Developing FAST Queries - SPSATLDeveloping FAST Queries - SPSATL
Developing FAST Queries - SPSATL
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Kürzlich hochgeladen (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Spstc2011 Developing Reusable Workflow Features

  • 1. Developing Reusable Workflow Features (Fri-S2A-106)Dev Track – 200 Mike Oryszak (@next_connect) Intellinet Aug 12, 2011 Welcome to SharePoint Saturday—The Conference
  • 2. Welcome to SharePoint Saturday—The Conference Thank you for being a part of the first SharePoint Saturday conference Please turn off all electronic devices or set them to vibrate. If you must take a phone call, please do so in the hall so as not to disturb others. Open wireless access is available at SSID: SPSTC2011 Feel free to “tweet and blog” during the session Thanks to our Diamond and Platinum Sponsors:
  • 3. About Me Practice Manager with Intellinet Microsoft SharePoint Server MVP Dev and Architect with MS stack since 1996 Working with SharePoint since 2002 Raleigh-Durham, NC Area since 1998
  • 4. Outline & Agenda Approach and Goals Overview on Creating Custom Actions Example 1 – Budget Approval Limits Example 2 – Out of Office Delegation Additional Examples Wrap-up and Questions
  • 5. Approach and Goals Developing Reusable Workflow Features
  • 6. Approach and Goals Common Workflow Limitations Workflows developed one at a time Config and Admin content is localized – Silos Maintaining data difficult, and process admin focused
  • 7. Approach and Goals Reuse Goals Centralize common configuration data Leverage central farm services Make it easier for users to maintain their data Reduce time to create new workflows Improve efficiency of managing workflows
  • 8. Approach and Goals Approaches Take a “Portfolio Approach” to process design Change data lookup sources from local to central Budget Approval Limit example Out of Office Delegation example Group common calls into Actions or Services Out of Office Delegation example Check Request example
  • 9. Approach and Goals Approaches Leverage central services like User Profiles, BCS Budget Approval example Out of Office Delegation example Link workflows together; start workflow from another Check Request example
  • 10. Creating Custom Actions Developing Reusable Workflow Features
  • 11. Full Trust Actions Approaches Leverage central services like User Profiles, BCS Budget Approval example Out of Office Delegation example Link workflows together; start workflow from another Check Request example
  • 12. Full Trust Action Implementation Important Namespaces System.Workflow.ComponentModel Microsoft.SharePoint.Workflow Microsoft.SharePoint.WorkflowActions Key Dev Tasks Define Properties Override ActivityExecutionStatus Execute Override ActivityExecutionStatusHandleFault Create WorkflowActions definition in Elements.xml
  • 13. Sandbox Actions Developed in Visual Studio Limited to Site Collection boundaries Does not require server admin to deploy; O365 Provides a way to create simple reusable features
  • 14. Sandbox Action Implementation Important Namespaces Microsoft.SharePoint.Workflow Microsoft.SharePoint.UserCode Key Dev Tasks Action must return a Hashtable Action must accept a SPUserCodeWorkflowContext as the first argument Create WorkflowActions definition in Elements.xml
  • 15. Budget Approval Limits Developing Reusable Workflow Features
  • 16. Budget Approval Overview A common example of data needed to support an approval workflow Centralize the data so that it is available for multiple processes Leverage services like User Profile and BCS
  • 17.
  • 19.
  • 21.
  • 22. Out of Office Delegation Developing Reusable Workflow Features
  • 23. Out of Office Delegation Overview SharePoint has built-in Out of Office Delegation Great example of User Maintained config data Great example of leveraging User Profiles
  • 24. Bad Approach Building it into each process, with localized data stored in a list on the workflow site Process Admin Maintains it Data stored in multiple places Workflow steps maintained in multiple places
  • 25. Alternative Approach Out of Office Delegation Feature User Profile Custom Attributes Out of Office Start Date Out of Office End Date Out of Office Delegation Custom Workflow Action Simplifies check from SPD workflows
  • 26. Demo
  • 27. Additional Examples Developing Reusable Workflow Features
  • 28. Additional Examples Standard Feature Requests Escalations Task Reminders Role Based Assignments (CFO, Ops Mgr, etc) Frequent Re-usable Processes Check Request Compliance Activity Logging
  • 29. Initiating Another Workflow Create Reusable Sub-Processes Use Standard Events New Item Edit Item Can use Full Trust Actions to add/edit items between site collections
  • 30. Check Request Overview Check Request is an example of a process that may be initiated from multiple processes Could be built into each process, or separated into a separate “sub-process” for reuse
  • 31.
  • 32. AP users have tasks in x sites
  • 33. Multiple places to update if process changes
  • 34.
  • 35. Easy access for AP users
  • 36.
  • 37. Recommended Approaches Take a “Portfolio Approach” to process design Change data lookup sources from local to central Group common functions or calls into Actions or Services Leverage central services like User Profiles, BCS Link workflows together; start workflow from another
  • 39. Additional Resources MSDN – Create a Sandbox Workflow Action http://msdn.microsoft.com/en-us/library/ff798499.aspx MSDN – Reference Implementation Workflow Activities http://msdn.microsoft.com/en-us/library/ff798330.aspx User Profiles – Creating Custom Properties http://www.mikeoryszak.com/sharepoint/user-profiles-%e2%80%93-creating-custom-properties User Profiles – Driving Business Process http://www.mikeoryszak.com/sharepoint/user-profiles-%e2%80%93-driving-business-process Workflow Posts http://www.mikeoryszak.com/tag/workflow
  • 40. Contact Info Blog - http://www.mikeoryszak.com Twitter - @Next_Connect Email – nextconnect@live.com LinkedIn - http://www.linkedin.com/in/michaeloryszak
  • 41. Thanks to Our Other Sponsors! Thanks to our Sponsors
  • 42. Session Evaluation Please complete and turn in your Session Evaluation Form so we can improve future events. Survey can be filled out at: http://app.fluidsurveys.com/surveys/spstc2011- and add the Session number to the URL Presenter: ______________________ Session Name: ______________________ Session No.: ______________________