Create periodic tasks

In Flowfinity, combine Tasks and Escalations to create sophisticated automated workflows. You can configure software robots to perform activities that mimic a Web or Device User. To learn how to create a robot check out this article.


Example

A Sales department creates, sends and monitors invoices manually in a Billing app. Using tasks and escalations they want to automate monitoring and amending invoices.

The organization amends its existing Billing app to incorporate Flowfinity's automation features. Software robots will track records awaiting payment and will flag 'past due' invoices.

A software robot will update the due date, add a late payment fee and send an updated customer invoice. The invoice will return to the 'Awaiting Payment' state until paid, or this process will repeat.

Note: this article uses an app that has been pre-configured with operations that transition records between different workflow states and send customers invoices via email notifications.

Instructions

  1. Customize the application.
  2. Go to the Operations section and click the Escalations tab.
  3. Click 'Add escalation.'
    Note: we will create 3 escalations:
    Send Invoice – an escalation that will trigger the Operation 'Send Invoice' when a record is in the Default state.
    Move to Past Due – an escalation that will trigger the Operation 'Move to Past Due' when a record is Awaiting Payment and the invoice due date has passed.
    Update Invoice – An escalation that will trigger the Operation 'Update Invoice' when the record is in the Past Due state.
    Flowfinity - Create periodic tasks
  4. Provide a title, 'Send Invoice' and add an optional design comment. Ensure the status of the escalation is set to 'Enabled.'
  5. Click 'Add condition.' A condition is required to tell the escalation when to execute.
  6. Select a conditional statement from the dropdown list and configure as follows:
    Current state name, Equals, Constant, Default State
    Flowfinity - Create periodic tasks
    Note: this means the escalation will execute when the current state name is Default State.
  7. An Escalations must trigger an Operation in Flowfinity; therefore, it is necessary to create and attach a pre-configured Operation for each Escalation created. Select 'Send Invoice' as the operation. Enter the email address which will send the invoice email to the customer.
  8. Click 'Save escalation.'
  9. Repeat steps 3 to 7 to create the 'Move to Past Due' escalation.
  10. Configure 'Move to Past Due' as follows:
    Payment Due, Before Last X Days, Constant, 0
    Current State Name, Equals, Constant, Awaiting Payment Note: you must pre-configure the state 'Past Due.'
    Flowfinity - Create periodic tasks
    Select the Operation 'Move to Past Due'
  11. Configure the third escalation, 'Update the Invoice.'
  12. Set up the conditions as follow:
    Current State Name, Equals, Constant, Past Due
    Flowfinity - Create periodic tasks
    Note: this means the escalation will execute when the current state name is 'Past Due.'
  13. While Escalations execute Operations in Flowfinity, Tasks are configured to trigger changes within records or to create new records.
  14. Return to the Operations section, select the Tasks tab then 'Add task.'
  15. Fill out the General Properties section, provide a title and optional design comment.
    Flowfinity - Create periodic tasks
  16. Click 'Add action' to launch the Task Action Editor.
  17. Provide a name and optional design comment, then configure the condition as follows:
    Flowfinity - Create periodic tasks
  18. Move to the Target tab, select 'Record' as the target. This means the target of the task is to rewrite a field(s) within existing records.
    Flowfinity - Create periodic tasks
  19. In the Fields tab, select 'Add mapping' and configure as follows:
    Flowfinity - Create periodic tasks
    Note: these mapped fields will rewrite both the Invoice Sent date, the 30-day Payment Due date and will add a 10% charge to the record subtotal.
  20. Click 'Save' and close the Task Action Editor.
  21. Return to the Operations tab. Select the Operation 'Update Invoice.'
    Flowfinity - Create periodic tasks
  22. Click 'Add task' and select 'Add Late Payment Charge.'
    Flowfinity - Create periodic taskss
  23. Publish the application.
  24. Click the Configure tab, select the Deployment. A summary of all robot users and their assigned tasks and escalations is available. Enable or disabled robot users by clicking the checkbox next to each automation.
    Flowfinity - Create periodic tasks

The application is now configured with both tasks and escalations. A Web or Device user is only required to create and close invoices. The Robot user will track records 24/7 and process intermediate workflow steps.

Flowfinity - Create periodic tasks

To broaden the scope of automation, it is possible to connect records between apps.

For example, when a record is closed in a Work Orders app then a software robot can generate a record into the Billing app used in this article. This removes the need for a Web or Device user to generate an initial invoice. Using tasks and escalations to link records between apps can increase end-to-end business processes automation.

Flowfinity - Create periodic tasks