back to knowledgebase

How can I set up Workflow?

Updated: 05 October 2020 15:24:30 OpenCRM::Settings

What is Workflow? What can I do with it?

A Workflow is a pre-defined series of actions that are triggered by a specific condition. They can include the creation of Activities or other records, the addition or removal of a Warning, and updating linked records when another record changes or is viewed.

You will need administrative and/or configuration access to setup a Workflow.

Creating a Workflow

  1. Go to Settings->Workflow & Automation->Workflow
  2. Click Workflow Rules. You'll see the following disclaimer screen which alerts you to the fact that you are configuring an action that has the potential to affect your data. Type YES and then hit OK.

     
  3. You now have the option to select NEW to create some new Workflow, or click the Edit link on any existing Workflow rules that are configured. Clicking on New will present a screen that looks like this
  4. Give your Workflow a name and description, then select the module that will trigger the change. In this example, I've selected Contacts because I want to trigger a Warning message to appear when the Do Not Email button is ticked.

                    I've set the trigger as "On Save" because I want this to happen when someone changes the Contact record manually. There are several options, however, for the trigger:
                            
                                   "OnEdit" will trigger the Workflow when someone goes into the Edit screen of a record that matches the conditions.
                                   "OnConsult" will trigger the Workflow when someone views in the Consult screen of a record matching the conditions.
     
  5. Next you will want to set your conditions. In this example, the Do Not Email field being set to be ticked is the condition.

    If you have multiple conditions, records will only trigger the Workflow when  ALL Conditions are met. 

    Important: You cannot set an "or" option on a condition. For example, you could not create a condition for " Type = Customer,Client" -- you will need to create multiple rules for this. 
     
  6. Once you have set your Condition(s), you will need to set up the Action(s). This are the changes that will take place when a record meets the triggered Condition(s). In this example, I am going to add a Warning to the Contact record, and reassign the Contact to our Telesales manager Maggie.



    You have numerous options for these actions:

     

    • Update Self - This will make an amendment to the record that triggered the Workflow
    • Create New - This will create a new record in a module of your choosing. If you would like it to link to the triggering record you must select the box. Any mandatory field in the module will be added to the action, you must fill in these fields.
    • Update Linked - This will updated all records in the chosen module that are linked to the triggering record. (i.e. all Activities will be marked as Done)
    • Send Notification - This will send a notification to the chosen User
    • Run Actionplan - If you already have an Action Plan set up, you may choose to use this. (What is an Action Plan?)
    • Add Warning - This will add a warning to the triggering record, make sure you give it a code or you will not be able to remove the Warning using Workflow.
    • Remove Warning - If you know the code of the warning, you can also remove a warning from the triggering record using Workflow. This will only work with Warnings that have been added using Workflow as this will be where you define the code.
    • Clear/ Update/ Wipe - these further options are designed to help you manage your data retention. For more information on these tools please see: https://opencrm.co.uk/help/?kb=8315915&article=How-do-I-use-the-Data-Retention-tools-in-OpenCRM-GDPR

    Date fields give you the option of scheduling records for a set number of days, weeks, months, or years for a date before or after the date the record triggers the Workflow.

    If you would like to link to a secondary existing record, just select the field and start typing. You will be given a series of options to chose from where any matches are found:



    All picklists should be populated in the Workflow window, if one is not populate, please contact support.


     
  7. When you have finished with your Workflow, simply click Save.
    If, at any time, you need to alter or update your Workflow simply go to Settings->Workflow & Automation->Workflow and click the Edit link next to the Workflow you would like to change. You can also delete Workflows in this window by clicking the "X".

 

 

Copying information from one module to another

You can use workflow to inherit information that could not otherwise be mapped from one module to another.

An example of this would be copying the Assigned to from a Company record onto linked Projects.

Important: You can only copy data from the originating record, not another dependent record.

In the example below, the workflow is set up to copy the Assigned to from the Company onto all linked Projects, while setting the Assigned to on linked Contracts to a particular user.

The first action (highlighted in red) shows:

  1. Circle: the field being populated on the linked Project
  2. Arrow: which action I want to take, for this linked Project I have selected Inherit
    1. Once you select inherit, you'll be able to choose a field from the originating record.
    2. It does not have to be the same field (i.e. Assigned to). 
  3. Rectangle: the field being copied from the originating record (which is a Company with type = Customer in this case)

The second action (highlighted in blue) shows the same:

  1. Circle: the field being populated on the linked Contract
  2. Arrow: the action I want to take, in this case I want a set value on ALL linked Contracts, regardless of who the Company is assigned to
    1. When I select "Set Value" this pulls the information from the module being updated, not the originating module
  3. Rectangle: my selected value 

Rate This Article
  • 1 star
  • 2 star
  • 3 star
  • 4 star
  • 5 star
Feedback and Comments
captcha code  


You may also be interested in: