Home > Paul Mather, Work > Getting started with #ProjectOnline #Workflow Part 1 #PS2013 #Office365 #Project #PPM #PMOT

Getting started with #ProjectOnline #Workflow Part 1 #PS2013 #Office365 #Project #PPM #PMOT

Paul Mather
I am a Project Server and SharePoint consultant but my main focus currently is around Project Server.
I have been working with Project Server for nearly five years since 2007 for a Microsoft Gold Certified Partner in the UK, I have also been awared with the Microsoft Community Contributor Award 2011.
I am also a certified Prince2 Practitioner.

This article has been cross posted from pwmather.wordpress.com (original article)

Following on from a very popular series of posts on getting started with Project Online, Microsoft’s Office 365 PPM cloud offering, round up found here. I started a mini series towards the end of last year where I covered getting started with the Portfolio Analysis functionality, part 1 here and part 2 here. I mentioned here that I would also do the same for workflow. I have finally got around to creating the workflow version – sorry for the delay, it has been a busy few months.

In this series of posts I will touch on some of the workflow capabilities that are available for Project Online and show you how to getting started.

For the purpose of this post I have already configured a project ideas type list in my PWA site collection, the portfolio strategy / analysis piece, some enterprise project types and have some custom fields.

The first post in this series will look at creating a project from the project ideas list. The workflow will assign a task to a SharePoint group for the approval, once approved a project will be created in Project Online using the correct Enterprise Project Type.

The project ideas list on my test environment looks like this:

image

image

Very simple, with a couple of SharePoint fields. I have mapped these fields to Project Online custom fields:

image

This is so that the metadata captured from the idea is copied over to custom field when the project is created.

I have also created some new Enterprise Project Types in this test environment:

image

Some of these will be used in later posts for this getting started series.

We will now look at creating an approval workflow for this ProjectIdeas list. Launch SharePoint Designer 2013 and open the target PWA site.

image

Click Workflow from Navigation pane:

image

Click List Workflow then choose the list:

image

Complete the details as required:

image

Click OK.

image

Now you can start creating the workflow in the designer. For this example I will firstly insert two more stages using the Stage button:

image

Then rename the stages:

image

Starting with the Initiated stage, click where is states “Start typing…” and more options will be enabled in the ribbon:

image

Click the Action button and scroll down to the “Assign a task” action and click:

image

Now click this user:

image

In the dialog box that appears complete the details, for the Participant I selected the Administrators group:

image

For the task title I used the string builder and added the following with a lookup to the item:

image

For the description I used the string builder to create the following:

image

Once the details are completed:

image

Click OK.

Now click in the transition to stage section:

image

Using the condition ribbon menu button, select if any value equals value:

image

Now click the first value:

image

Then click the fx button:

image

In the box that appears set the following:

image

Click OK.

Click the second value and choose Approved:

image

Now select the Insert go-to under the If and select Go to a stage on the Action menu:

image

image

Click a stage and select Approved:

image

Do the same for Else but select the Rejected stage:

image

In the Approved stage I will insert a parallel block:

image

In this parallel block I will insert four If conditions:

image

The If conditions are then configured like below:

image

The action for each If will be “Create Project from Current Item”:

image

Then you can choose the Enterprise Project Type:

image

Set this up to match to correct EPTs:

image

I then added two further actions:

image

To send ad email and to set a field on the list.

The email was configured as below:

image

The workflow then set the Approval Date field to Today:

image

The transition to stage was then update to end the workflow:

image

The final stage to configure is the Reject stage, in this stage we just send and email to the user that created the item then end the workflow:

image

Once completed, save the workflow and check for any errors.

Using the navigation bar, click the workflow name:

image

Then set the start options for the workflow:

image

Once you are happy with it publish the workflow to the list.

Back in SharePoint, if we look at the Workflow settings for the list we should see the workflow name:

image

Now if I create a new item on the list the workflow will fire and create a task for one of the administrators to approve, the item shows as in the initiated stage:

image

As a PWA administrator I would receive a email notifying me that I had a task assigned, I could then approve that item or reject it. In this example I will approve it:

image

When the workflow fires the item will update to Approved, a project will get created in Project Online, an email will be sent to the user who created the idea and the Approval Date will be set on the list item.

The updated project idea item can be seen below:

image

The project can be seen below in the project center with the correct Enterprise Project Type:

image

The data from the Project Ideas list has been copied to the correct Project Custom fields:

image

That’s it for the simple project ideas list workflow – there is lots more that can be done but hopefully that gives you a good idea on how to get started. Next up we will take a look at getting started with the project life cycle workflow and progress a project through various stages and phases.

Advertisement
Categories: Paul Mather, Work Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: