Business Services

A business service is a set of actions that accomplishes some sort of business function. For example, a business service could be designed to handle an incoming insurance claim.

Business services are stateless, meaning that if it consists of a number of forms, and you enter data into some forms, then cancel the business service (by clicking on the Cancel button on a form) before completing the business service, none of the data you entered on the previous forms is saved.

If a business performs a stateful action, that is, something that cannot be reversed (for example, writing to a database, starting a process instance, and so on.), typically it will be the last action performed by the business service.

The example business service described above is just one simple example. Depending on how it is designed, a business service may consist of the following types of actions:

  • Display forms - Multiple forms may be displayed in sequence. When a business service includes multiple forms, the user that starts the business service will be the one to work through all of the forms — as soon as the user submits one form, the next one in the sequence is displayed. Note, however, that if there is an action of some sort in-between forms (database access, script execution, etc.), there may be a delay in displaying the next form. If this occurs, a shaded mask is shown over the previous form, and a "Waiting for response" message is displayed.
  • Start process instances - One or more instances of processes may be started by a business service. resulting in one or more work items being sent to the appropriate users to process them.

    If the business service starts process instances, and results in work items, you can see those in the process instance and work item lists, respectively.

    This stateful type of action would typically be done as the last action in the business service.

  • Calling REST Services - For information on how to call REST Services, see "Calling REST Services" in the TIBCO® BPM Enterprise Administrator's Guide
  • Scripts - Scripts can perform various functions, such as calculations, validation, etc.
  • Logical branching - The flow of the business service may branch in various ways, depending on its design.