Workflows

Workflow automation within Joforce helps to streamline your business process and lets you to be more productive.

How to create and edit new workflow in Joforce?

It helps to automate the most repetitive task of sending emails, creating events, records, updating the fields and more. To create a new workflow,

  • Go to Profile icon → Settings → Navigate to the Automation section → Workflows → New Workflow in the top right corner.

  • Provide the basic Information like

    • Workflow Name - Enter a unique name for your Workflow

    • Description - Add a note or description about your Workflow

    • Destination Module - Choose the desired Workflow

    • Status - Mention the status for your Workflow

      • Active - To run the workflow

      • Inactive - If you no longer need to use the workflow, mark it as inactive.
    • Now add the,

      • Triggers - Specify when to run the workflow

      • Conditions - To run the workflow, when the conditions are met

      • Actions - The action to be done, will running the workflow
  • Finally, hit Save

Adding triggers in Workflow

Joforce lets you to specify triggers, i.e. specify when to run the workflow. Joforce offers 3 default triggers,

  • On record Creation - It is triggered whenever a new record is created on the specified module.

  • On record Updation - It runs the workflow, when a record is updated. IT consists of 2 Recurrence options,

    • Only the first time conditions are met - Runs when the workflow conditions are met. Once executed, the workflow will not triggered on the same records, but triggered on all the other records.

    • Every time conditions are met - Triggered when the conditions are met. Triggers workflow more than once on the same record.
  • Time interval - Specify the time interval to run the workflow at periodic intervals. Joforce offers 6 different time intervals by default.

    • Per Hour - Run every hour

    • Daily - Triggers workflow daily. Specify the time to run it.

    • Weekly - Specify the day and time to run the workflow. You can select any no.of days. Workflow run on every week on the chosen day and time.

    • Specific Date - Mention the specific date and time to run the workflow.

    • Monthly by date - Enter the date and time. In a month, you can run the workflow on any no. of days. Joforce automatically runs the workflow on the selected date and time on every month.

    • Annually - Select the date and time. Automatically triggers workflow on the specified date and time of every year.
workflow-triggers

Adding conditions in Workflow

With Joforce you can easily add filters to your Workflow. To add workflow, click on Add condition. Joforce offers you with 2 different conditions,

*All Conditions (AND) - Triggers workflow, when all the conditions are met

  • Any condition is met (OR) - Triggered, when at least any one of the condition is met

  • Ex: consider you’ve added three conditions,

    • Condition 1 AND Condition 2 AND Condition 3 - Run Workflow, if all the conditions are met. If any one fails, then workflow will not be executed

    • Condition 1 OR Condition 2 OR Condition 3 - Run workflow, if any one of the condition is met.

By default, the AND condition is enabled between the All Conditions and Any condition is met

Configuring related actions to workflow

Actions are task, that will be executed once the defined workflow is triggered. With Joforce, you can automate 6 different task. To add task, click on the Add Action, Choose the appropriate option from the drop down.

  • Send Email

    • Action Title - Provide the title for your Action

    • Provide the From, To Reply-To and subject

    • Add you email Content, Click Save.
workflow-action-email
  • Invoke Custom Function - Update the target fields of records in one module when action is performed on the source field of another module. It requires code level changes, kindly refer here.

  • Create Task - Create a new task

    • Provide the Action Title, your Task Title, Description

    • Choose the Status - Not Started, In Progress, Completed, Pending Input, Deferred, Planned

    • Select the desired Priority - High, Medium, Low

    • To Assign this task to your users, Choose the appropriate user in Assigned To

    • Mention the Due date and time

    • Check on the Send Notification to get notifications related to the task.
workflow-action-create-task
  • Create Event - Create a new calendar event

    • Add the Action Title, Event Name, Description.

    • Mention the Status, whether it is Planned, Held and Not Held.

    • Provide the Type of action - Call, Meeting, Mobile Call

    • Assign the event to one of your users using Assigned To

    • Finally mention the Start and End date and time for the task.
workflow-action-create-event
  • Update fields - Update the fields of the selected module

    • Provide the appropriate title, then click on Add Field. You can any no.of fields based on your needs.

    • Displays two fields, one is the target field - the values of this field get updated and other is the source field - enter the values to be updated.

    • Choose the desired field from the drop down of the first column

    • Click on the source to provide the value, a pop prompts, it gives you with 3 set of options,

      • Raw Text - To add a plan text value

      • Field - To add field values

      • Expression - To define calculations
workflow-action-update-field
  • Create Entity - To create record in a different module. This represent a parent child relationship, the parent - is the module on which the workflow condition is satisfied. The child - represents the newly created record, once the parent record workflow is satisfied.

    • Enute a suitable tile for your Action

    • Choose the module on which the child record need to be created.

    • Once chosen the module, displays the mandatory fields of that module

    • Now add the desired values for the fields. You can also add additional field values by clicking Add Field.
workflow-action-create-record