Coder Social home page Coder Social logo

stephensmitchell-forks / workflow.emailapprovalsample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from petegoo/workflow.emailapprovalsample

0.0 2.0 0.0 416 KB

A Windows Workflow Foundation email approval sample from the blog entry http://blog.petegoo.com/index.php/2010/08/22/workflow-4-email-approval-sample/

License: Other

CSS 14.91% C# 71.86% ASP 13.22%

workflow.emailapprovalsample's Introduction

Workflow Email Approval Sample

This is the code from my blog post describing a workflow based email approval app

Pre-requisites

  1. Use a local SMTP / email server like Papercut so that you can send emails from the workflow and see them appear.
  2. You will need to set all 3 projects to startup. Right-click the solution in VS, choose Set startup projects and make sure all 3 are set to start.

Running the sample

  1. Run the code.
  2. Check your email app (Papercut).
  3. You should see 3 emails, approve or decline as desired.
  4. You should receive another email summarising the approval responses once they are all complete.

Common Issues

Check that you have the correct URLs in the code. Visual Studio may decide to use different ports. URLs are hard coded at the following locations

  • ApproverClient\app.config
  • ApprovalWorkflow\Workflow.xamlx (Send Approval Email activity)
  • Approval.Web\Web.config

If you decide to push this into IIS rather than IIS Express, the above URLs will change.

workflow.emailapprovalsample's People

Contributors

petegoo avatar

Watchers

James Cloos avatar Stephen S. Mitchell  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.