Chapter 1: Workflow Administration: Objectives
Chapter 1: Workflow Administration: Objectives
Introduction
The following information provides a basic overview of the Workflow system. For the purposes of this course Workflow is defined in two ways: Workflow as a system Workflow as an approval process
As a system Workflow is the software installed with Microsoft Dynamics GP. This system can be used to create and manage individual workflow approval processes. As an approval process a workflow defines how a document moves through the system. For example, a purchase order approval workflow may require multiple levels of approval by various employees of an organization depending on the conditions established in the workflow.
1-1
Architecture Overview
The Microsoft Dynamics Workflow system accesses two different types of data. It accesses accounting data from Microsoft Dynamics GP databases such as: Purchase orders Sales quotes Batch information
1-2
The Microsoft Dynamics Workflow system consists of three main pieces: A web service A web site Server components
The Workflow web service enables employees using Microsoft Dynamics GP clients to interact with the Workflow server components. The Workflow web site enables employees using Outlook and Microsoft Internet Explorer to interact with the Workflow server components. The Workflow server components contain business logic and communicate with the SharePoint and Microsoft Dynamics GP databases. These components are installed on a server running Office SharePoint Server and can communicate directly with the SharePoint databases. The components must use Web Services for Microsoft Dynamics GP to communicate with back office databases.
1-3
NOTE: This configuration is recommended for testing and demonstration purposes only. This configuration does not provide the best security or performance.
1-4
The web server hosts web services for the following: Microsoft Dynamics GP Office SharePoint Server Workflow
HINT: This configuration provides better security and performance than the single-serverconfiguration.
1-5
Multiple web server hosts web services for the following: Microsoft Dynamics GP Office SharePoint Server Workflow
Ideally each of these applications has a dedicated web server. Of the three configurations described in this lesson, the multiple web server configuration provides the best security and performance.
1-6
Install Workflow
Installation of the Workflow system must take place after Microsoft Dynamics GP and Microsoft SharePoint Server have been installed. After Workflow is installed, and you can access the Workflow web site, start setting up the Workflow system.
Rights to Install
To run the Workflow installation wizard, you must be logged on to the web server computer as a domain user with the following access rights. Administrator rights on the server Your domain user account must be a member of the Administrators group on the web server where Workflow will be installed. Administrator rights for SQL Server During the installation, you will be prompted to enter SQL Server connection information. To connect to SQL Server using Windows Trusted Authentication, you must log on to the web server with a Windows logon ID that has administrative rights to SQL Server. To connect to SQL Server using SQL Authentication, you need to enter a SQL Server administrator logon ID and password during the installation.
Administrator of the Dynamics Security Admin Service Permission to manage SSP user profiles
1-7
To start a service, complete these steps: 1. Open the Services window. 2. Right-click the service and click Properties. The <Service Name> Properties window is displayed. 3. From the Startup type list, select Automatic. Click OK. 4. If the service does not have a status of Started, right-click the service and click Start.
Installation
Use the following steps to install Workflow on your web server. As the user installing Workflow, you become the first Workflow administrator. 1. Insert Microsoft Dynamics GP CD 2 into the CD drive of your web server computer. The Microsoft Dynamics GP installation screen should appear. If the screen does not appear automatically, browse the CD and double-click the Setup.exe file. 2. Click Workflow and then Install. 3. Agree to the license terms. Click Next. 4. In the Workflow for Microsoft Dynamics GP 10.0 window enter the name of the server containing your Microsoft Dynamics GP databases. Select the type of authentication to be used when creating the SQL tables and objects used by Workflow. These credentials are used only during the installation process. 5. In the Web Service URLs window enter the URL of the Microsoft Dynamics GP web service and then enter the URL for the Microsoft Dynamics Security Admin Service. 6. In the Web Site window select the IIS web site to use for Workflow. NOTE: If the IIS web site you select has not been extended as an Office SharePoint Server web application, the installation routine will extend it for you. 7. If the IIS web site you selected has not been extended as a web application, the Application User Account window appears. Enter the appropriate information and click Next. 8. In the Ready to Install window click Install. Once the installation is complete click Finish.
1-8
This lesson illustrates the various ways users can interact with Workflow.
Microsoft Dynamics GP
Workflow functionality is available in many areas of Microsoft Dynamics GP. For example, the Purchase Order Entry window enables a user to submit purchase orders for approval. This window has a message bar and history pane. The message bar displays the document's status and has buttons for approving and rejecting the document. The history pane displays previous actions made to the document.
1-9
1-10
FIGURE 1.8
Workflow Participants
Users that will have any sort of interaction with the workflow system are workflow participants. There are six different types of workflow participants: Workflow administrator Workflow manager Originator Approver Delegate Carbon copy
Any given SharePoint user may be assigned to one or more of these participant groups based on their expected interaction with workflow.
1-11
Workflow Manager
A workflow manager can create and configure a particular type of workflow. For example, suppose you name your purchasing manager, Ann, as the workflow manager for the purchase order approval type. This means Ann can create and configure purchase order approval workflows. She can also act on (that is, approve or reject) any purchase order in the company, regardless of who the purchase order is assigned to. When you set up the Workflow system, you will specify a manager for each type of workflow. HINT: Each manager is automatically added to the Microsoft Dynamics GP <Workflow Type> WorkflowManager group in Office SharePoint Server.
1-12
Originator
The originator is the person who submits a document or batch for approval. Originators are specified when you create and configure a workflow. HINT: Each originator is automatically added to the Microsoft Dynamics GP <Workflow Type> WorkflowOriginator group in Office SharePoint Server. The Microsoft Dynamics WorkflowOriginator SharePoint Server Group can perform the following functions: Submit documents or batches associated with the workflow type. View all tasks associated with the workflow type. View all documents or batches associated with the workflow type. Generate reports that display data associated with the workflow type. Configure his or her workflow alert message settings. Delegate his or her workflow tasks.
Approver
The approver is the person responsible for reviewing a document or batch. If the approver approves the document or batch, it moves on to the next step in the workflow. If the approver rejects the document or batch, the workflow approval process stops. You specify who the approvers are when you create and configure each workflow step. HINT: Each approver is automatically added to the Microsoft Dynamics GP <Workflow Type> WorkflowApprover group in Office SharePoint Server.
1-13
Delegate
A delegate is a person who can act on a workflow task on behalf of someone else. For example, if an approver will be out of the office for a period of time, the approver can delegate his or her tasks to another approver in the workflow. Approvers can specify who their tasks should be delegated to on the Workflow User Delegation page. HINT: Each delegate is automatically added to the Microsoft Dynamics GP <Workflow Type> WorkflowDelegate group in Office SharePoint Server. The Microsoft Dynamics WorkflowDelegate SharePoint Server Group can perform the following functions (which are the same as the Approver role): Submit documents or batches associated with the workflow type. View all tasks associated with the workflow type. Act on tasks assigned to him or her. View all documents or batches associated with the workflow type. Generate reports that display data associated with the workflow type. Configure his or her workflow alert message settings. Delegate his or her workflow tasks.
Carbon Copy
You can give a user who is not involved in a workflow the ability to view documents or batches submitted to the Workflow system. A user with read-only access can view documents or batches in the Documents area of the Workflow web site.
1-14
Security
Since the Workflow system has the ability to interface with so many different technologies configuring security is an important part of implementation. There are two key security areas to configure for workflow users: Microsoft Dynamics GP security Microsoft Office SharePoint server security
System administrators must be careful to assign the appropriate rights for users in both systems for people to use workflow properly. For example, if a user is established as a Workflow originator in SharePoint, but not granted access to Purchase Order Entry in Microsoft Dynamics GP they will likely have a problem processing Purchase Orders through the system. There is no mapping of users between the Microsoft Dynamics GP back office user and the Windows User Account. Notifications and tasks surfaced in the back office will use the windows user account to display workflow information.
Workflow Security
Security on the Workflow web site is determined by the Office SharePoint Server group that a given user belongs to. Users belong to groups based on their participant status in various workflows. Each Office SharePoint Server group name is followed by a company ID. For example, if Fabrikam has a company ID of 1, purchase order approvers will belong to the Microsoft Dynamics GP Purchase Order Approval WorkflowApprover1 group.
1-15
HINT: The Microsoft Dynamics Workflow Administrator group is the only group you should manually assign users to. Users are automatically assigned to the other groups when a workflow is configured.
1-16
1-17
Challenge Yourself
Assign Alicia Stevens to the purchasing agent security role in Microsoft Dynamics GP. Add Alicia as an originator for the currently active Purchase Order Approval workflow.
Step by Step
1. Logon to Microsoft Dynamcis GP as the sa user. 2. Click Microsoft Dynamics GP, point to Tools, point to Setup, point to System, and then click User Security. 3. Select user Alicia Stevens in the User field. 4. Select company Fabrikam, Inc. in the Company field. 5. Mark the Purchase Agent Security Role ID. 6. Click Save. 7. Open the workflow website. 8. Click Administration on the quick launch bar. 9. Click the workflow name for the currently active purchase order workflow. The Configure Workflow page should appear. 10. In the Select originators area add Alicia Stevens and click the check names icon. 11. Click Save.
1-18
1-19
Workflow Setup
The best way to prepare for setting up the Workflow system is to create diagrams illustrating the workflows desired. It helps to draw each workflow using a software program such as Microsoft Office Visio, or by simply using pen and paper. Your diagrams should indicate: The order in which the workflow steps occur. Who the approvers are at each step, and the conditions under which their approval is required.
1-20
First, the Workflow system in Microsoft Dynamics GP must be activated. Use these steps to perform this action: 1. Open the Workflow Setup window by clicking Microsoft Dynamics GP, point to Tools, point to Setup, and click Workflow Setup. 2. Select the Activate Workflow for <Company Name> check box. 3. Click OK. Restart Microsoft Dynamics GP for changes to take effect.
1-21
After a workflow type is activated, individual workflows may be created. Many workflows can be created for each workflow type, but only one can be active at any given time.
Workflow Calendar
As part of setting up the Workflow system, you need to configure a Workflow calendar for each Microsoft Dynamics GP company. The Workflow calendar shows which days are work days and which are nonwork days. The Workflow system only counts the work days when calculating a task's due date. For example, suppose you have configured a purchase order workflow and have given Amy, the purchasing manager, three days to act on her workflow tasks. Using a Workflow calendar, if Amy is assigned a purchase order on Thursday, she will have until the end of Tuesday to approve or reject the purchase order. This is because Saturday and Sunday are not counted toward the task's due date. Perform the following steps to configure the workflow calendar: Go to the Workflow web site. Click Administration on the Quick Launch bar. On the Workflow List page click Modify Workflow Calendar. On the Workflow Calendar page select a company from the Current Company list. 5. Select the check box for each day that is typically a work day in the company. The selected month's work days are displayed in white. The non-work days are shaded. Click on any individual day to change its status. 6. Click Save. 1. 2. 3. 4.
1-22
1-23
1-24
Challenge Yourself
Activate the batch related workflows. Assign Ken Kunos as the workflow manager.
Step by Step
1. Go to the workflow website by clicking the Workflow tab on Fabrikam's SharePoint portal. 2. Click Administration on the quick launch. 3. In the Workflow List page click the Select Workflow Types to Use button. 4. In the Select Workflow Types to Use page select Fabrikam, Inc. from the Current Company list. 5. Select the check box for General Ledger, Payables, and Receivables batch approval. 6. Assign Ken Kunos, Fabrikam's controller, as the workflow manager for all three workflow types. 7. Click Save.
1-25
Challenge Yourself
Configure Ken Kunos's e-mail preferences for the payables management batch approval workflow so that he receives a daily summary of the tasks he is assigned to. Each day he would like a summary of all his outstanding tasks.
Step by Step
1. Go to the Workflow website. 2. Click My Alerts on the Quick Launch bar. 3. In the Alerts page select Fabrikam, Inc. from the Current Company list in the upper-right corner of the page. 4. Click Payables Batch Approvals Alerts alert type. 5. Select the radio button for Receive a daily e-mail summary. 6. Click the OK button.
1-26
Maintenance
After the workflow system has been installed it may be necessary to perform maintenance on some aspects of the system.
Remove Workflow
To remove the Workflow from your server, complete the following steps: 1. 2. 3. 4. In Control Panel, click Add or Remove Programs. Select Microsoft Dynamics GP Workflow. Click Change. The Modify Installation window appears. Click Remove. The Ready to Remove window appears. Indicate whether to remove the Workflow site collection.
NOTE: If you are moving the Workflow from one web server to another web server, do not remove the Workflow site collection. If you have installed the Workflow on multiple web servers and are removing a Workflow from one of them, do not remove the Workflow site collection. If you do, the Workflow installations on the remaining web servers will not work. 5. Click Remove to remove the Workflow 6. The Remove Complete window appears. Click Finish.
1-27
NOTE: If the Workflow installation is repaired, the Workflow web site URL will be reset to the original URL.
Summary
There are three primary server configurations for using the Workflow system. There are six different types of workflow participant roles for users in workflow. In this training we discussed the following: Security Workflow setup and activation Maintenance of the workflow system
1-28
Install Workflow
3. Which of the following services must be started on the server to start the Workflow installation wizard? Mark all that apply. ( ) Windows SharePoint Services Timer ( ) Microsoft SQL Analysis Services ( ) Microsoft SQL Reporting Services ( ) Windows SharePoint Services Administration 4. Which of the following rights must the user performing the installation have to run the Workflow installation wizard? Mark all that apply. ( ) Administrator rights for SQL Server ( ) Administrator of the Dynamics Security Admin Service ( ) Administrator rights on the server ( ) Permission to manage SSP user profiles
1-29
Workflow Participants
6. Which of the following workflow participants may create a new workflow? Mark all that apply. ( ) Workflow manager ( ) Approver ( ) Originator ( ) Workflow administrator 7. Which workflow participants can act on any workflow task not assigned to them? Mark all that apply. ( ) Approver ( ) Workflow manager ( ) Workflow administrator ( ) Delegate
1-30
2.
3.
1-31
Solutions
Test Your Knowledge
Workflow Architecture and Deployment
1. Which of the following server configurations provide the best security and performance for administration of Workflow? () Multiple servers hosting the web services for Microsoft Dynamics GP and SharePoint ( ) A single web server separate from another server hosting Microsoft Dynamics GP and SharePoint ( ) A single server hosting web services, Microsoft Dynamics GP, and SharePoint on the same machine ( ) Run Microsoft Dynamics GP from an Xbox 360 and then use a single server for your web services and SharePoint 2. Which of the following components consist of the Microsoft Dynamics Workflow system? Mark all that apply. () Web service () Server components ( ) Business Portal () Web site
Install Workflow
3. Which of the following services must be started on the server to start the Workflow installation wizard? Mark all that apply. () Windows SharePoint Services Timer ( ) Microsoft SQL Analysis Services ( ) Microsoft SQL Reporting Services () Windows SharePoint Services Administration 4. Which of the following rights must the user performing the installation have to run the Workflow installation wizard? Mark all that apply. () Administrator rights for SQL Server () Administrator of the Dynamics Security Admin Service () Administrator rights on the server () Permission to manage SSP user profiles
1-32
Workflow Participants
6. Which of the following workflow participants may create a new workflow? Mark all that apply. () Workflow manager ( ) Approver ( ) Originator () Workflow administrator 7. Which workflow participants can act on any workflow task not assigned to them? Mark all that apply. ( ) Approver () Workflow manager () Workflow administrator ( ) Delegate
1-33
1-34