Creating a Single Step Workflow

From SmartWiki
Revision as of 09:08, 26 June 2014 by Ciaran Donnelly (talk | contribs) (Create New Task)

Jump to: navigation, search


Overview

Single step workflows are useful for creating alert type messages. Some examples of where you may consider using single step workflows would be to:

  • Alert a sales person when a customer adds a file to the system.
  • Get an alert when a new contact is added to the database.
  • Send a copy of a new file to your customer, by simply adding the file to a folder.
  • Send a confirmation message to a new customer when they are added to the system.
  • Trigger an e-mail alert when someone registers on your website for information.

Creating an Acknowledgment Workflow

In this example you will create a workflow that sends an alert when a contact is added to a company.

1. Click the New Workflow button.

WFTask.png

The New Workflow window is displayed.

WFTask2.png

Setting the Workflow Type

SmartSimple provides the ability to attach a workflow to many different objects. If you do not select the correct type, the workflow name will not be listed when you attempt to connect the workflow to the object.

1. Click the Workflow type combo box. The workflow object types are listed.

WFTask3.png

See Workflow Types for details.


This workflow will be attached to a company, but will trigger only when a contact is added to that company.

2. Set the Workflow type to User.

3. Set the Name to New Contact Added.

4. Set the Description to A new contact has been added to the system.

Setting the Trigger Type

The Workflow trigger determines when a new instance of the workflow should be started.

  • The New option will only trigger when a new object is created. In this example, when a new user is added to the company.
  • The Modified option will trigger the workflow when an existing object is changed.
  • The On Demand option will trigger the workflow when called by a System Call or a browser script.

The default New option is correct.

WFTask4.png

Saving the Workflow

It is necessary to save to workflow details before you can add any tasks.

1. Click the Save button.

WFTask6.png

The workflow is saved.

WFTask5.png

The Workflow ID is now populated and the following tabs are also displayed:

  • New Task – click this tab to create a new workflow task.
  • Diagram – click this tab to see a diagram view of the workflow.
  • Pending Queue – click this tab to see a list of outstanding tasks for this workflow, to delete certain tasks and to reassign tasks to other contacts within the system.
  • History - click this tab to see a list of completed tasks for this workflow.
  • View Workflows – click this tab to return to the workflow list.

There is also a new Task List section at the bottom of the Workflow screen. This is used to define steps within the workflow.

Create New Task

Template:Adding a Workflow Task in an Acknowledgment Workflow

Configure System to display Workflow options

  • the user creating the workflow must have permission to set company workflow trigger.

Go to - Roles & Permissions - Manager Permissions, Under permissions, click on Workflows - Attach Workflow to Company.

100504 workflow manager permission.jpg


100504 workflow manager permission 01.jpg

- select the role that will be triggering the workflow.

- once the role is selected, the options will display in the edit company view. 100504 workflow manager permission 02.jpg





Previous.png Workflow Types Adding a Workflow Task in an Acknowledgment Workflow

Next.png