Skip to main content
Version: 10.3.1

Basic concepts for Business Process implementation

A Business Process (BP) is an automation flow combining code-based and no-code elements, such as Manual Tasks, Bot Tasks, Model steps, decision or transformation rules, or nested processes. Work.AI allows you to implement two types of Business Processes (BP):

  • Schema-based Business Processes, where each step or the entire BP flow can have contracts defining variables expected as input for this step and those produced as its output.

    In such BPs, all data is stored within the flow’s transactional context and sent to corresponding steps filtered by its input contracts. Such an approach significantly reduces the amount of data passed across steps, thus increasing the overall automation performance.

  • Schemaless Business Processes, the legacy type, designed without contracts.

The article details a general sequence of steps to deliver an automation as a Business Process and gives tips on what to take into consideration while designing it.

Step-by-step implementation flow

The only difference between a schemaless BP and a schema-based one is the way they handle data. The implementation flow is essentially the same for both, with slight differences in the design stage. Schemaless BPs can be converted into schema-based one by enabling the Input / Output connection.

  1. Create a Business Process in accordance with the instruction. Any BP you have created appears in the BP list.

  2. Design the BP flow using no-code steps, Manual Tasks, and other workflow components, accounting for the implementation tips. For details, read the Build Business Process flow in Workflow designer topic.

    If you design a schema-based flow, you will need not only to design the flow but also configure input and output contracts on the BP or step level.

  3. Configure the options to run the BP as detailed in the guide.

  4. Test-run the BP in a development environment. For instructions, refer to the Run Business Process topic.

  5. Monitor the BP progress and then check the BP results.

  6. If required, edit the BP settings as described in the Set run options topic or change its design.

    You can repair the BP and trace errors via logs. For details, refer to the View logs and repair Business Processes topic.

  7. To rerun the BP, copy it with data as described in the guide.

  8. Run the BP in production. For more information, read the Run Business Process topic.

Implementation tips

Determine tasks to include

To understand whether you need to include Manual or Bot Tasks, consider the following:

  • Bot Tasks are best suited for scraping, manipulating data, finding information with a permanent location, such as in forms, standard PDF files, SEC or at .org websites.

  • The output of one task can become the input for a subsequent one, so you need to know what the output of each task looks like.

  • Identify the Business Process threshold or streaming—whether an entire task has to be finished before the data moves on.

  • Use only tested and valid tasks: from the Reusable components panel or those available as Operations.

Monitor BP execution

To make sure the BP implementation is up to requirements, do as follows:

TROUBLESHOOTING

In case a Business Process becomes non-operational or its performance degrades, look for troubleshooting tips in the following support guides: