Create a Service task

<< Click to Display Table of Contents >>

Organizer > Process Automation > Model a Process >

Create a Service task

A service task in BPMN is an automated activity.

1.In the Create tab, select Service task, process and press Place object or double-click. A dialog opens.

2.Optionally, select a Name and a Description.

3.Press OK.

If the process should be used in Organizer, the mapping to the activity type is done in the Task activity section. See section Define an automation activity below.

3.Place the user task in the lane of the participant that should own the step.

 

Define an automation activity

1.In the Task activity section under the Automation activity tab, add Description. The description will be the automation activity name in the task workflow.

2.Select the Automation tab.

3.Press Add.

4.Select an automation from the list and press OK.

 

Set the parameter for an automation

Some automations can have parameters that could be set. For example, in the automation to create a Cost calculation a parameter that decides the calculation template needs to be set.

1.Select the automation from the list and press Edit or double-click. The attribute form for the automation opens.

2.Double-click on the automation parameter.

3.Set the wanted value of the parameter and press Save.

 

Automation parameters

Automation parameter type

Explanation

TEXT

A plain text parameter. For example to define the content of an email.

NUMBER

A number parameter.

BOOLEAN

A true/false parameter.

DATE

A date parameter.

CUSTOM

A custom parameter that could contain a specific set of values. For example a list of all available calculation templates.

 

Examples of Automations

General

Automation

Description

Parameters

Example of results/error messages

Post changeset

Post the task changeset.

-

-

Send message from task

Sends messages from the task to specified external services.

MESSAGE: The content of the message.

CONFIGURED RECEIVER: The external service designated to receive the message, configured in tomcat-site.

Could not find parent task (1000)

Invalid message (1001)

Unexpected response from external service (1002)

 

Designer

Automation

Description

Parameters

Example of results/error messages

Add costs from task changeset

Creates a calculation based on the specified parameter and fetched changes from the task changeset to add costs to the created calculation.

CALCULATION_TEMPLATE: Defines which calculation template to use when creating the calculation from the automation.

Cost catalog is missing in the calculation template (1000)

Calculation template for the automation is missing (1001)

 

Customer Connection

Automation

Description

Parameters

Example of results/error messages

Notify installer

Adds a message to the application in the task.

SUBJECT: The subject of the message.

MESSAGE: The content of the message.

-

Create customer facility for production application

Creates a customer facility of type generator for the linked delivery point to the task, copying data from the application in the task.

-

No delivery point linked to the task (1000)

Error connecting objects (1001)

Too many delivery points linked to the task (1002)

No application exists in the task (1003)

Too many applications exist in the task (1004)

Perform network calculation

Perform a network calculation for the production application, based on settings made in Analyzer > Result/Administration > tab Administration > Predefined production calculation.

-

Calculation failed (1000)

Calculation result approved (1001)

Calculation result not approved (1002)

Other (1003): Other errors not covered by the above results

Installation consent

Create an installation consent for the application and delivery point linked to the task. Requires a single application, delivery point, and customer facility.

Installation consent text: The parameter content will be placed in the Installation consent text field in Service link data.

No application exists in the task (1000)

Too many applications exist in the task (1001)

No delivery point linked to the task (1002)

Too many delivery points linked to the task (1003)

Service link creation failed (1004)

No subscription exists for the installation (1005)

Multiple subscriptions exist for the installation (1006)

Installation link creation failed (1007)

Installation link update failed (1008)

Change object state

Changes the state for generators and batteries linked to the task.

-

No objects to handle (1001)

Some objects invalid and cannot be handled (1002)

 

Meter Handling

Automation

Description

Parameters

Example of results/error messages

Generate workflow from linked meters

Generate a workflow for the meters linked to the task.

START WORKFLOW ITEM: Decide if the inserted workflow items should be started or not.

WORK: What type of work should be done for the linked meters - installation, dismounting, replacement or reading.

The 'work' parameter should be created (1000)

Configuration problem. No section for meters. (1001)

 

Nätkollen

See section Nätkollen in Process Automation.