Project WebSynergy Milestone 3 Administration Guide

Chapter 4 Administering Content Management System

To be done.

CMS in WebSynergy

Liferay Portal provides out-of-the-box CMS functionality in two major areas: document management (repositories for documents and images) and publishing.

Document management is provided through WebSynergy's Document Library and Image Gallery portlets. These portlets provide intuitive management of Microsoft Office documents, PDFs, text files, and images.

Publishing in the Project WebSynergy portal is accomplished through the Journal portlet. It features a clean separation between content (data entry) and presentation (layout design). This allows the content to conform to a consistent "look and feel." Additionally, the Journal portlet provides a content versioning and approval paradigm (workflow). This system allows for users involved in publishing to fall naturally into three different roles:

  1. Writers create, edit, and enter content comprised of text and images.

  2. Designers create layouts that display content.

  3. Editors edit and approve final output and release it for publication to the portal.

As an example, consider Project WebSynergy the website. All of the static content is managed and published by the Journal portlet. We can authorize other members of the Liferay community to write documentation, but we retain final editorial authority and security. This also allows for a mixture of portlets and Journal articles to coexist, enabling the designer to be more creative with what is displayed. Designers can integrate static content using the Journal Content portlet with a number of other function-rich portlets (e.g. Navigation and Breadcrumb). All of this shows how useful and flexible publishing can be with the Journal portlet.

Document Management Portlets:

Journal Portlets:

Other portlets:

Document Library Portlet

The Document Library provides a centralized repository for various document types (e.g., .PDF, .DOC, .XLS, etc.) to be stored and assigns a unique URL to each of them. A company's intranet running Project WebSynergy portal can then be able to post internal documentation (e.g., reimbursement forms, charitable donations policies, etc.) for access by its employees. Alternatively, since each document has its own URL, the Asset Publisher portlet on your company's public website may display a list of PDF files of quarterly newsletters and their download links.

The Document Library supports multiple repositories that can be set with different access roles. Also, the documents in the repository are version-controlled, allowing a user to retrieve any particular revision that has been stored on the system.

ProcedureTo add a Document

  1. Login to WebSynergy.

  2. Click Add Applications and expand the CMS folder.

  3. Click Add against the Document Library Portlet.

    The Document Library Portlet is added to your page.

    Figure 4–1 Document Library Portlet

    Document Library Portlet

    The user interface of the portlet contains Folders, My Documents, and Recent Documents tabs. You can search documents using the Search File Entries button in the Folders tab. The Add Folder button in the Folders tab allows you to add folders. My Documents and Recent Document tabs list all the documents and the most recently accessed documents respectively.

  4. Any document need to be in a folder. To add a new folder, click the Add Folder button.

  5. Give a name and description to the folder. The permissions for the folder determine what users can do. Click Save. The Document Library screen will appear.

    Figure 4–2 Creating a document folder

    Creating a document folder

  6. A folder is created. To add a document to that folder, click on the folder name.

    Figure 4–3 Document folders

    Document folders

  7. You can either add more folders to further divide your documents into more specific categories or you can add a document to the current folder. In this use case, we will add a document. Click Add Document.

    Figure 4–4 Document folder to add a document

    Document folder to add a document

    The system prepares to add the document.

    Figure 4–5 Preparing to upload the document

    Preparing to upload the document

  8. Click on the upload button:

    Figure 4–6 Upload button

    Upload button

    Now you can browse the document. You have classical upload and select multiple files options.

    Figure 4–7 Upload options

    Upload options

    Select any option that you like. There is a cap of 3000k on uploaded documents. After uploading the document, enter a title and description for the document.

    Figure 4–8 Uploading documents

    Uploading documents

  9. Click Save when finished.

    The article is added to the Document Library.

    Figure 4–9 Uploaded document in the Document Library

    Uploaded document in the Document Library

ProcedureTo create Reference to a Document

  1. Locate a document in the Document Library.

    Using the example from the above section, locate the document FY09_dashboard.pdf.

  2. Right click on the document name, then select Properties to view its Address (URL).

    You can then either highlight the entire URL or click anywhere over the URL area and press Ctrl+A to select the entire link. Keep in mind that the URL is long. If you use the highlight method, you must highlight the entire URL. You can then copy this link and reference it anywhere within the portal. You can even reference this document outside of the portal as long as your portal is running and the document is still in the repository. Refer to figure below.

    Figure 4–10 Link Properties

    Link Properties

Document Library Display Portlet

The Document Library Display Portlet holds the display functionality for Document Library. You can navigate to the folders and document in the Document Library, even by accessing the Document Library Display Portlet.

You can add Document Library Display Portlet to your page from among CMS portlets in the Add Applications window.

Figure 4–11 Document Library Display Portlet

Document Library Display Portlet

Image Gallery Portlet

Like the Document Library, the Image Gallery provides a centralized repository for images used throughout the Project WebSynergyPortal and assigns a unique URL to each image.

ProcedureTo add an Image

  1. Login to WebSynergy.

  2. Click Add Applications and expand the CMS folder.

  3. Click Add against the Image Gallery Portlet.

    The portlet is added to your page.

    Figure 4–12 Image Gallery Portlet

    Image Gallery Portlet

  4. Click on the Add Folder button.

    Specify a name and description and click Save.

    Figure 4–13 Adding a folder to the Image Gallery Portlet

    Adding a folder to the Image Gallery Portlet

    The folder is added to the portlet.

    Figure 4–14 Image Gallery Portlet with a newly created folder

    Image Gallery Portlet with a newly created folder

  5. Click on the name of the folder.

    You can add a subfolder or an Image within the folder. In our example we are adding an image for the folder we have already created.

    Figure 4–15 Image folder

    Image folder

  6. Click on the Add Image button.

    Figure 4–16 Preparing to upload an image

    Preparing to upload an image

  7. Click on the upload button:

    Figure 4–17 Upload button

    Upload button

    Now you can browse the document. You have classical upload and select multiple files options.

    Figure 4–18 Upload options

    Upload options

  8. Select either of the two options to upload images.

    There is a cap of 3000k on uploaded documents. After uploading the document, enter a title and description for the document.

    Figure 4–19 Uploading an image

    Uploading an image

    The image is added to the image gallery.

    Figure 4–20 Image uploaded to the folder

    Image uploaded to the folder

ProcedureTo create Reference to an Image

  1. Locate a document in the Document Library.

    Using the example from the above section, locate the image Taj Mahal in the folder Sample Images.

  2. Right click on the image, then select Properties to view its Address (URL).

    You can then either highlight the entire URL or click anywhere over the URL area and press Ctrl+A to select the entire link. Keep in mind that the URL is long. If you use the highlight method, you must highlight the entire URL. You can then copy this link and reference it anywhere within the portal. You can even reference this document outside of the portal as long as your portal is running and the document is still in the repository.

    Figure 4–21 To create Reference to an Image

    To create Reference to an Image

ProcedureTo View Image Slide Show

  1. Login to WebSynergy.

  2. Click Add Applications and expand the CMS folder.

  3. Click Add against the image gallery portlet.

    The portlet is added to your page.

    Figure 4–22 To view Image Slide Show

    To view Image Slide Show

  4. Click on a folder containing images.

    In our example, click on the Sample Images folder.

    Figure 4–23 To view Image Slide Show

    To view Image Slide Show

  5. Click on View Slide Show button to have a slide show of the images contained in the folder.

    A new window appears. In the new window, images are displayed in sequence one after the other. The slide show window has buttons for Pause, Play, Next, and Previous, which allow you to play and pause the slide show, and to view next and previous image for an image. You can set a time interval for displaying images, by using the Speed list. You can set a time interval between 1 to 10 seconds, with 3 seconds being the default time interval for the slide show.

    Figure 4–24 To view Image Slide Show

    To view Image Slide Show

Journal Portlets

The Journal application is composed of four portlets:

Journal

Journal Articles

Journal Content

Journal Content Search

the Journal portlet is used to create all CMS content and the Journal Articles and Journal Content portlets are used to display those contents. This portlet allows writers to easily edit content displayed on web pages without having to sort through complex code.

Definitions

Before getting into the details of how to use the Journal portlet, it is useful to understand structures, templates, and articles; they are the backbone of the Journal portlet's functionality.

The point of a structure is to unify journal articles with the same numbers and types of items. For example, a Management Bio section of a website might have ten biographies, each requiring an image for the executive headshot, a text for the headline, and a text area for the main biography. A structure would be created with one image, one text, and one text area, each named accordingly. This allows writers to create the individual biographies and other texts without needing to recreate the page structure for each biography.

Designers can create several templates for one structure to allow for a variety of presentations or they can give writers discretion in deciding the best layout.

All specific text and images are entered when a user adds or edits an article. This is also where a user chooses the layout based on the templates affiliated with a structure. Since multiple templates can be associated to a structure, the user can select the template that formats their article the way they want.

ProcedureTo add a Journal Portlet to the Page

  1. Login to WebSynergy.

  2. Click Add Applications and expand the CMS folder.

  3. Click Add against the Journal Portlet.

    The Journal Portlet is added to your page.

    Figure 4–25 Journal Portlet

    Journal Portlet

    The user interface of the portlet contains Articles, Structures, Templates, Feeds and Recent tabs. You can search documents using the Search Articles button in the Articles tab. You can add an article using the Add Article button.

  4. Click the Articles tab to view all currently available Journal Articles.

    Figure 4–26 Journal Articles displayed in the Journal portlet

    Journal Articles displayed in the Journal portlet

Structures

ProcedureTo create a Structure

  1. To create a structure, first click on the Structures tab in the Journal Portlet, and then click on the Add Structure button. The structure creation page is displayed.

    Specify an ID, or Select the Autogenerate ID checkbox for the system to generate an ID. It is recommended that you choose your own ID so that the structure will be easier to identify when associating it with templates and articles. The convention is to separate words in the ID with a hyphen, e.g., “BASIC-STRUCTURE-NAME.” The structure ID can not be changed once your structure has been saved, so be sure that the ID is exactly how you would want it to appear.

    Enter a name and a description for the structure.

    To start adding fields to the structure, click the Add Row button. This will show a new field where you can enter a name and a content type for this field (image, text, boolean flag, etc.). Those comfortable with XML or HTML can edit the XSL directly by clicking Launch Editor. Both methods of adding/editing elements will work, and both can be used in the same session. One simple approach is to add a few elements using the GUI and then to edit the XML directly (which will contain the syntax for the already added elements and can be copy-pasted).

    Empty spaces are not allowed within a field name. Rows can be moved up or down by clicking on Arrow buttons. You can use the Plus button to add a row.

    Figure 4–27 To create a Structure

    To create a Structure

  2. Click Save.

    The Structure is created successfully.

    Figure 4–28 To create a Structure

    To create a Structure

ProcedureTo Edit a Structure

  1. Click on Actions tab against the Structure, and select Edit from the menu.

    Figure 4–29 To edit a Structure

    To edit a Structure

    The Structure opens in Edit mode.

    Figure 4–30 To edit a Structure

    To edit a Structure

    In the edit screen, you can edit anything in the structure except for the structure ID, which can not be changed once the structure has been created.

    Editing the name and description will not affect other features of the Journal portlet, but adding, deleting, and modifying fields will affect the templates and articles that are associated with the structure. It is advisable to backup the current XML file first by clicking the Download button so that it will be easy to revert to your old structure if necessary.

    If you add fields, the articles associated will have extra fields for additional content. If you delete fields, associated content in associated articles will be deleted. For example, an article using the template Basic Webcast has title, size, url and description fields, as these are the fields available on the template.

    Figure 4–31 To edit a Structure

    To edit a Structure

  2. Make desired changes to the Structure, and click Save to save changes.

ProcedureTo Delete a Structure

  1. To delete a structure, you must first delete all articles and disassociate or delete all templates associated with that structure.

    To delete all articles, click on the Actions button and select View Articles from the menu.

    Figure 4–32 To delete a Structure

    To delete a Structure

    All the articles associated with the Structure are listed.

    Figure 4–33 To delete a Structure

    To delete a Structure

  2. Select all articles, and click on the Delete button.

  3. Click on the Structure tab again. Click on the Actions button against the Structure, and select View Templates from the menu.

    All the templates associated with the structure are listed.

    Figure 4–34 To delete a Structure

    To delete a Structure

    You can delete all the Templates associated with the Structure. To do this, select all Templates and then click the Delete button.

  4. Select the Structure and click on the Delete button to delete the template.

    Alternatively, you click Delete from the menu appearing on clicking the Actions button.

    Figure 4–35 To delete a Structure

    To delete a Structure

Templates

ProcedureTo Create a Template

  1. Login to WebSynergy.

  2. Click Add Applications and expand the CMS folder.

  3. Click Add against Journal portlet.

    The Journal portlet is added to your page.

  4. Click on the Templates tab.

    Click the Add Template button to create a template. The Template page appears.

    Figure 4–36 To create a Template

    To create a Template

  5. Specify an ID, Name and Description for the template. Click the Select button to select a Structure for the template.

    The Select and Remove buttons against the Structure field can be used to associate or to disassociate a structure from the Template.

    Figure 4–37 To create a Template

    To create a Template

    A window for selecting Structures is launched.

  6. Click on name of the Structure to select it.

    In our example, click on BASIC-WEBCAST. The Structure is selected.

    Figure 4–38 To create a Template

    To create a Template

  7. To edit the template layout content, you can use one of two methods:

  8. To create a completely new template:

    1. Click the Launch Editor button.

      An Editor pops-up. You can select an Editor Type. Plain and Rich are the two available editor types. Plain is the default editor type, but you can select Rich, as it is easier to work with Rich editor.

      Figure 4–39 To create a Template

      To create a Template

    2. Click on the Update button, after making changes to the template.

  9. To make use of an existing template:

    1. Select a language from the Language Type list.

      VM, SXL, and CSS are the available language options.

    2. Click on the Browse button against the Script field to browse an existing template.

    3. Select the Format Script checkbox.

    4. Click Launch Editor to open the browsed script

    5. Click on the Update button, after making changes to the script.

  10. If you find it to be necessary, Add a small image to represent the template in the description field,

    You can , enter the URL path for an image in the Small Image URL field, or you can browse an image by using the Browse button. To use the image in the template, select the Use Small Image checkbox.

  11. Click Save.

ProcedureTo Edit a Template

  1. Click on the Actions button against the template, and select Edit from the menu.

    Before editing the actual template, it is advisable to view the associated articles because their layout will be affected by any changes made to your structure. After editing the template, you can view these articles with the new template layout. You can click View Articles from the Action menu to view associated articles.

    Figure 4–40 To edit a Template

    To edit a Template

  2. Edit the template as desired.

    In the edit screen, you can edit anything in the template except for the template ID, which can not be changed once the template has been created.

    Figure 4–41 To edit a Template

    To edit a Template

  3. Click Save.

ProcedureTo Delete a Template

  1. To delete a template, you must first delete all the articles associated with that template.

    To delete all articles, click on the Actions button and select View Articles from the menu.

    Figure 4–42 To delete a Template

    To delete a Template

    All the articles associated with the Template are listed.

    Figure 4–43 To delete a Template

    To delete a Template

  2. Select all articles, and click on the Delete button.

    A dialog-box with the message “Are you sure you want to delete the selected articles?” appears. Click OK to delete all articles.

    Figure 4–44 To delete a Template

    To delete a Template

  3. Click on the Templates tag once again.

    Select the template and click Delete.

    Figure 4–45 To delete a Template

    To delete a Template

    Click OK on the dialog-box for confirming delete operation to delete the template.

Articles

ProcedureTo Create an Article

  1. Login to WebSynergy.

  2. Click Add Applications and expand the CMS folder.

  3. Click Add against Journal portlet.

    The Journal portlet is added to your page.

  4. Click on the Articles tab.

    All Journal articles are listed.

    Figure 4–46 To create an Article

    To create an Article

  5. To create a new Journal Article, click on the Add Article button.

    Figure 4–47 To create an Article

    To create an Article

  6. To select a Structure and a Template for the article, click on the Select button beside the Structure field.

    You find the option to select a structure under Farm and Presentation.

    Figure 4–48 To create an Article

    To create an Article

    A dialog box appears with the message “Selecting a new structure will change the available input fields and available templates? Do you want to proceed?” appears. Click OK. The Structures window appears. You can select a structure by clicking on the name of a Structure. In our example, click on BASIC-WEBCAST to make it the Structure for the article.

    You can note that the structure of the article has changed.

    Figure 4–49 To create an Article

    To create an Article

    If there is a template using the structure, the template is added to the article by default.

  7. Specify a name for the article.

  8. Choose the Type for Categorization that the article will reside in.

    Figure 4–50 To create an Article

    To create an Article

    This will help make it easier for users to make manual searches of articles and organize articles.

  9. Set the Schedule details.

    Set values for Display Date, Expiration Date, and Review Date fields. The default setting does not set an expiration date and review date.

    Figure 4–51 To create an Article

    To create an Article

  10. Create the article, and click Save.

ProcedureTo Edit an Article

  1. Click on the Actions button for the article and select Edit from the menu.

    Figure 4–52 To edit an Article

    To edit an Article

    The article appears in Edit mode. In this screen you can edit anything in the article except for the article ID, which can not be changed once the article has been created. You can choose to increment the version every time you edit the article to help all users see how often the article has been changed. If you feel that the changes you are making are very minor, you can choose not to increment it. Note that if you set the expiration date to a date earlier to the current date, you will no longer be able to select that article for use in the Journal Content portlet.

  2. Make necessary changes and click Save.

ProcedureTo Delete an Article

  1. Click on the Actions button for the article and select Edit from the menu.

    Alternatively, select the checkbox preceding the article ID and click the Delete button.

Journal Articles Portlet

The Journal Articles Portlet is used to configure journal Articles. Generally, it is not necessary to access this portlet.

Journal Content Portlet

The Journal Content Portlet displays the content of a journal article.

Journal Content Search Portlet

The Journal Content Search Portlet can be used to search for a word or phrase within the content of a Journal Article.

For example, if you are searching with the keyword WebSynergy, the word is highlighted in your article.

Figure 4–53 Journal Content Search

Journal Content Search

Asset Publisher Portlet

ProcedureTo add Asset Publisher Portlet to the Page

  1. Login to WebSynergy.

  2. Click Add Applications and expand the CMS folder.

  3. Click Add against Asset Publisher portlet.

    The Asset Publisher portlet is added to your page.

    Figure 4–54 Asset Publisher portlet

    Asset Publisher portlet

Blogs Entry

To be done.

ProcedureTo add a Blogs Entry

  1. Select Blogs Entry from the list on the Asset Publisher portlet.

    Figure 4–55 Page for entering the blog

    Page for entering the blog

    The Blogs Entry page has many sophisticated options. You can apply styles and formatting on your blog entry. You can add Tags and Suggestions to your blog

  2. Make your blog entry and click Publish.

    The blog entries made by you are displayed on the Asset Publisher portlet. For example, you have made two blog entries with the name Test. The two blog entries are displayed on the Asset Publisher. The Activities portlet also states that a blog entry has been made.

    Figure 4–56 Blog entries

    Blog entries

  3. To view the blog entry, click on the blog title or on Read More.

    Figure 4–57 Viewing the blog

    Viewing the blog

  4. You can edit the blog entry by clicking on the Edit button.

Bookmarks Entry

To be done.

ProcedureTo add a Bookmarks Entry

  1. Select Bookmarks Entry from the list on the Asset Publisher portlet.

    Figure 4–58 Entering a bookmark

    Entering a bookmark

  2. Enter the bookmark

  3. Click Select to select a folder.

    Figure 4–59 Selecting a folder

    Selecting a folder

  4. Click Add Folder.

  5. Specify the name and description of the folder.

    Click Configure against Permissions to view and change the configuration permissions for the folder.

    Figure 4–60 Adding a folder

    Adding a folder

  6. Click save to create the folder.

    Figure 4–61 Choosing a folder for the bookmark

    Choosing a folder for the bookmark

  7. Click on the Choose button to choose the folder.

    Figure 4–62 Saving the bookmark

    Saving the bookmark

  8. Click Save.

    The bookmark appears on the Asset Publisher portlet.

    Figure 4–63 Bookmark for a page

    Bookmark for a page

  9. Click Go to view the bookmarked page.

Document Library Document

To be done.

ProcedureTo add a Document Library Document

  1. Select Document Library Document from the list on the Asset Publisher portlet.

  2. Click Select to select a folder as described in the procedure and browse a document to upload it to the Document Library.

    In our example, we are creating a folder called Docs, and uploading a file named Wedding Invitation.

    Figure 4–64 Adding a Document Library Document

    Adding a Document Library Document

  3. Click Save to save the document to the Document Library.

    The document is displayed on the Asset Publisher portlet. You can download the document if required.

    Figure 4–65 Saving the document to the Document Library

    Saving the document to the Document Library

ProcedureTo Delete a Document from the Document Library

  1. Select Document Library Document from the list on the Asset Publisher portlet.

    Figure 4–66 Document Library page

    Document Library page

  2. Click Select.

    All the documentation folders currently available are listed

  3. Click Choose against the folder containing the document.

    In our example, choose the Docs folder.

    Figure 4–67 Choosing a documentation folder

    Choosing a documentation folder

    The selected folder is added to the Document Library page. Note that a link for the folder appears near the Select button.

    Figure 4–68 Selected folder (containing the document which need to be deleted)

    Selected folder (containing the document which need to
be deleted)

  4. Click on the link for the selected folder.

  5. Select Delete from Actions, to delete the document.

    Figure 4–69 Deleting the document

    Deleting the document

Image Gallery Image

To be done.

ProcedureTo add an Image Gallery Image

  1. Select Image Gallery Image from the list on the Asset Publisher portlet.

  2. The procedure to upload and delete images from the gallery are very much similar to the procedure to To add a Document Library Document and To delete a document from the Document Library respectively.

Journal Article

To be done.

ProcedureTo add a Journal Article

  1. Select Journal Article from the list on the Asset Publisher portlet.

    Figure 4–70 Adding a Journal Article

    Adding a Journal Article

    You can create a journal article using all the options available on the screen. You can set an Expiration Date and Review Date for the journal article.

  2. Click Save and Approve.

    The journal article is displayed on the Asset Publisher portlet. In our example, Project WebSynergy is the name of the journal article.

    Figure 4–71 Journal Article visible on the Asset Publisher

    Journal Article visible on the Asset Publisher

  3. Click the edit button to make changes to the journal article.

    The default version number of the Journal Article is set to 1.0. You can select the Increment Version on Save option to increment the version number of the article, each time you update the article. You can use the Expire button to make the article expire immediately. You can use the Delete button to delete the article.

    Figure 4–72 Editing the Journal Article

    Editing the Journal Article

  4. Click Save to save changes to the article.

  5. Click Read More link for the journal article to read the article.

Breadcrumb Portlet

It displays the path for the page which you are on.

Categories Navigation Portlet

To be done.

It displays an empty portlet. Do we really have anything to document???

Navigation Portlet

To be done.

It displays an empty portlet. Do we really have anything to document???

Nested Portlets Portlet

To be done.

It displays an empty portlet. Do we really have anything to document???

Recent Documents Portlet

It displays the most recent documents.

Site Map Portlet

The site map portlet provides the site mapping of your page.

Figure 4–73 Site Map Portlet

Site Map Portlet

Tags Admin Portlet

To be done.

ProcedureTo add Tags Admin portlet to the Page

  1. Login to WebSynergy.

  2. Click Add Applications and expand the CMS folder.

  3. Click Add against the Tags Admin Portlet.

    The Tabs Admin portlet is added to your page.

    Figure 4–74 Tags Admin Portlet

    Tags Admin Portlet

  4. Add a tag and a tag category and click Save.

    Figure 4–75 Adding a tag and a tag category

    Adding a tag and a tag category

    The tag and the tag category are added to the vocabulary.

    Figure 4–76 Tag vocabulary

    Tag vocabulary

    You can Add or Delete the properties associated with the tag.

XSL Content Portlet

To be done.

Workflow Portlet

Admin users can define a workflow and upload the workflow definition file through the Workflow Portlet UI, and can initiate a workflow instance. To create a workflow, you need a Workflow Definition File which has a workflow defined in it.

To create a workflow, you need to create a Workflow Definition File in XML format. The Workflow Definition File need to confirm to jBPM Process Definition Language (JPDL) standards.

For example, consider that we are creating a workflow for leave application and approval process.

The following is the scenario involved:

  1. The admin user creates a workflow definition called LeaveApproval.

  2. The admin user creates a workflow instance. (Workflow State 1)

  3. The test user uses the workflow instance to apply for leave. (Workflow State 2)

  4. The manager receives the holiday request. The manager the approve or reject the request, or can send the request for reconsideration. (Workflow State 2)

  5. The test user can verify to see that the process have ended.

Refer to the below sections for detailed process steps:

  1. To add a Workflow Definition

  2. To Create a Workflow Instance

  3. Workflow Process Steps: To Request an Holiday

  4. Workflow Process Steps: To Evaluate Holiday Request

  5. Workflow Process Steps: To Ascertain the Request Status

ProcedureTo add a Workflow Definition

  1. Login to WebSynergy as Admin User.

  2. Click on Add Page.

  3. Specify a name for the page and click Save.

  4. Click on the tab for the page.

    The page opens.

  5. Click on Add Applications from the Welcome menu, and add the Workflow portlet to the page.

  6. Click On Add Definition.

  7. Copy paste the workflow definition in XML format and click on the Save New Version button.

    Figure 4–77 To add a Workflow Definition

    To add a Workflow Definition

    A workflow is created with a version number associated with it.

  8. Logout and login back into WebSynergy for the changes to take effect.

ProcedureTo Create a Workflow Instance

  1. Click on Search Definitions from the Workflow portlet to view all workflow definitions.

    Figure 4–78 To Create a Workflow Instance

    To Create a Workflow Instance

  2. Click on the Add Instances button against a workflow definition.

    In our example, we are creating an instance for version 1.0 of the LeaveApproval workflow definition.

    Figure 4–79 To Create a Workflow Instance

    To Create a Workflow Instance

    An instance is created for the Workflow Definition. Provide values for the fields such as the Definition Name, Definition Version, Start Date (Range), and End Date (Range), and Click Search to search for the instance. To hide the instances that have already ended, select the Hide the instances that have already ended checkbox.

    You can create any number of instances for a version of Workflow Definition.

    Figure 4–80 To Create a Workflow Instance

    To Create a Workflow Instance

  3. Click on the Manage button for the instance.

    Figure 4–81 Manage button

    Manage button

  4. Click Save to save the task.

    Figure 4–82 To Create a Workflow Instance

    To Create a Workflow Instance

    The task is assigned to the requester.


    Note –

    If the admin user clicks the Signal button against an Instance, the instance is promoted to the next state of workflow. The requester is not allowed to use an instance which is promoted to the next state of the workflow.


Accessing a Workflow Instance

To be done.

ProcedureWorkflow Process Steps: To Request an Holiday

  1. Login to WebSynergy as Paul, the test user.

  2. Add the Workflow portlet to your page.

  3. Click on Tasks tab.

    You can use the Task Name, Definition Name, Current Date, Start Date, and End Date fields to search for a task. To hide the instances that have already ended, select the Hide the instances that have already ended checkbox.

  4. Click on a Task for an Instance which have not ended.

    In our example, click on the Holiday Request task for an Instance. Specify a start date and an end date.

    Figure 4–83 Workflow Process Steps: To Request an Holiday

    Workflow Process Steps: To Request an Holiday

  5. Click Save.

ProcedureWorkflow Process Steps: To Evaluate Holiday Request

  1. Login to Project WebSynergy as Mary Manager.

  2. Add the Workflow portlet to your page.

  3. Click on Tasks tab.

  4. Click on a Task for an Instance which have not ended.

    In our example, click on the Evaluate Holiday Request task for an Instance.

    The manager can place Comments against the request. The manager can exercise Approve, Reject, and Send Back for Review options.

    The Instance ends on clicking the Approve or Reject button.

ProcedureWorkflow Process Steps: To Ascertain the Request Status

  1. Login to Project WebSynergy as Paul, the test user.

  2. Add the Workflow portlet to your page.

  3. Click on Tasks tab.

    The End Date field against the task name has the date and time of approval on it