Turn on more accessible mode Turn off more accessible mode Skip Ribbon Commands Skip to main content
Navigate Up
This page location is:
  • sapiens.at
    • Home
      • the sapiens.at Team Blog
Sign In
Search
the sapiens.at Team Blog
  • Home
    • SharePoint Add-Ons
    • Support
    • Join Us
    • BlogCurrently selected
 Feed your read! Feed your read!

Archives

June 2013 (1)
May 2013 (6)
April 2013 (1)
March 2013 (1)
February 2013 (5)
August 2012 (2)
June 2012 (2)
May 2012 (4)
April 2012 (4)
March 2012 (3)
February 2012 (10)
January 2012 (5)

Tag Cloud

Employee Training Management Template, SharePoint 2010, SharePoint 2013, SharePoint Calendar Email Extension, SharePoint Filter Web Part 3.0, SharePoint Form Web Part, SharePoint Item Highlighter, SharePoint List Filter, SharePoint List Template, SharePoint Meeting Organizer, SharePoint Site Template, SharePoint Template, SharePoint Web Part
App Development Blogs - BlogCatalog Blog Directory

How to create an approval workflow for enrollments to chargeable trainings   

Tags: Employee Training Management Template
Technorati Tags: Employee Training Management Template

Applies to SharePoint Employee Training Management

It's pretty easy to configure an approval workflow on enrollments in the Employee Training Management, especially if you use SharePoint Server. SharePoint Server includes a Publishing Approval Workflow you can use for this purpose. In this post I want to describe how to configure an approval workflow that automatically approves enrollments to trainings that are free of charge and only requires approval for trainings with costs.​

First of all you have to create a new currency site column. Name it "Costs" and add it to the lists "Training Catalog", "Scheduled Trainings" and "Enrollments". In the "Training Catalog" and the "Scheduled Trainings" list you also have to add the field to the content types "Topic" and "Training". In the Enrollments list we don't do that, there we only want to display the costs defined in the topic or training. Fortunately, Employee Training Management does that for you. If a field exists in the Enrollments list and in the Training Catalog or the Scheduled Trainings list (same internal name), the value is synchronized from the training or topic to the enrollment.

Next edit the Enrollments list in SharePoint Designer.

Now add a new workflow and name it "Approve Enrollment"

Create Approval Workflow
First you have to add an IF condition. If costs are greater than 0 (or greater than a certain limit).

IF Branch
Continue with the ELSE branch.

ELSE Branch

If the training is free of charge we can approve the enrollment. That means in the else branch you only have to set the content approval status to approved.

Set Approval Status
In the IF branch you have to add an approval process.

Approval Process
Click on "these users" to configure the approver and the task request.

User and Task Request
In this example I use one particular user as the approver for all enrollment. You can also insert actions before this one to collect information from the user or insert the "Lookup manager for user" action and configure the outcome as the approver of the enrollment.

Before the approval process you have to set the workflow variable "EnableContentApproval" to yes. This is important because otherwise the approval status won't be changed on workflow completion.

Set Workflow Variable
That's it, now you have configured a real simple basic approval workflow.

Publish the workflow and run a few tests with free trainings and trainings with costs.

SharePoint Employee Training Management

 
Posted by  Florian Wachter  on  2/14/2013
0  Comments  |  Trackback Url  | 0  Links to this post | Bookmark this post with:        
 

Links to this post

Comments

Name *:
URL:
Email:
Comments:


CAPTCHA Image Validation


© 2013 sapiens.at
| Contact Us | Terms of Use | Privacy Statement | Legal Notice

We want your feedback!
the sapiens.at Team Blog - How to create an approval workflow for enrollments to chargeable trainings