Define Business Events > Defining business events based on native workflows > Application Integration service tasks
  

Application Integration service tasks

Application Integration service tasks use Application Integration processes to automate tasks that MDM SaaS performs efficiently and in a scalable manner.
Consider the following workflow for a loan application process: Workflow for loan application, with user tasks, service tasks, parallel gateways, and decision gateways for credit risk and affordability checks, leading to either approval or rejection.
The workflow consists of multiple tasks that run concurrently, such as credit score and affordability check, KYC document collection, and legal compliance checks. Manually determining customer details and checking credit score and affordability can be repetitive and time-consuming. The tasks are automated using the service tasks and the data is then verified manually. The service tasks help streamline the loan application process.
To configure an Application Integration service task, drag a service task component to the required swimlane and perform the following steps:
  1. 1Configure properties for Application Integration service tasks.
  2. 2Configure input details for Application Integration service tasks.
  3. 3Configure conditions for Application Integration service tasks.
Note: Application Integration
processes used in service tasks must contain a Service step. Also, the input payload from
MDM SaaS
to the process and the output payload from the process to
MDM SaaS
must each contain an array of tasks. For more information about the prerequisites of processes, see
Prerequisites of processes for service tasks
.

Prerequisites of processes for service tasks

When you create a process in Application Integration and use it in service tasks, ensure that the process meets the following requirements:
Note:
A process might be used in service tasks across multiple workflows. The arrays of tasks in the input and output payloads support the execution of multiple service tasks that use the same process at the same time.

Input payload format

The input payload from MDM SaaS to the process must contain an array of tasks to support the execution of multiple service tasks that use the same process at a time. Each task in the array must include a taskId parameter.
A process might be used in service tasks across multiple workflows. The array of tasks in the input payload supports the execution of multiple service tasks that use the same process at the same time.
The following JSON snippet shows the input payload that MDM SaaS sends to a process:
[
{
"taskId": "124",
"customerId": "CUST-002913”
},
{
"taskId": “134",
"customerId": "CUST-004582"
}
]
Task IDs 124 and 134 represent two instances of a service task or two service tasks that use the same processes. The process accepts customer IDs as input.

Output payload format

The output payload from the process to MDM SaaS must contain an array of tasks to support the execution of multiple service that use the same process tasks at a time. The output payload must contain a taskId parameter for each executed task in the array.
A process might be used in service tasks across multiple workflows. The array of tasks in the output payload supports the execution of multiple service tasks that use the same process at the same time.
The following JSON snippet shows the output payload that a process sends to MDM SaaS:
[
{
"taskId": "124",
"customerID": "CUST-002913",
"score": {
"creditScore": 712,
"scoreModel": "VantageScore 4.0",
"scoreBand": "Good",
"scoreConfidence": 0.86,
"scoreTimestamp": "2025-12-14T13:45:02Z",
"bureau": "Experian",
"isInternalSource": false
},
"riskFactors": [
{
"code": "RF-DTI",
"description": "Elevated debt-to-income ratio",
"severity": "Medium",
"weight": 0.3
},
{
"code": "RF-UTIL",
"description": "High revolving utilization",
"severity": "Low",
"weight": 0.15
}
]
},
{
"taskId": "134",
"customerID": "CUST-004582",
"score": {
"creditScore": 684,
"scoreModel": "VantageScore 4.0",
"scoreBand": "Fair",
"scoreConfidence": 0.79,
"scoreTimestamp": "2025-12-20T10:17:45Z",
"bureau": "Equifax",
"isInternalSource": true
},
"riskFactors": [
{
"code": "RF-PAYHIST",
"description": "Recent late payments",
"severity": "Medium",
"weight": 0.27
},
{
"code": "RF-CREDITMIX",
"description": "Limited credit mix",
"severity": "Low",
"weight": 0.12
}
]
}
]
Task IDs 124 and 134 represent two instances of a service task or two service tasks that use the same processes. The process retrieves credit score details for the customer IDs that were shared in the input payload.

Configure properties for Application Integration service tasks

Application Integration processes used in service tasks must meet certain requirements. If processes don't meet the requirements, the service tasks and respective workflows fail.
For more information about the requirements for processes, see Prerequisites of processes for service tasks.
    1Select a service task in the designer.
    2Enter a name for the service task.
    3Optionally, edit the internal ID and add a description.
    4To configure a process, click Select, and then select a process.
    A list of the available published processes appears.

Input details for Application Integration service tasks

After you select a process, define the fields to use as inputs for the process. Add multiple input fields to an Application Integration service task if the process you select contains multiple input fields. Each set of input details consists of a key, which is an ID that matches an input field of the selected process, and an expression that defines the expected value for the key.
Consider the example of the workflow for loan approval. The image show a portion of a workflow for loan application, with user tasks, service tasks, a parallel gateway, and decision gateways for credit risk and affordability checks, leading to either approval or rejection. The Input Details section of the properties tab for the selected service task, Credit Score Check is highlighted. The properties include input details, such as key and expression.
The Credit Score Check service task uses the customer ID as the input key. The expression specifies that the Get Customer Details service provides the customer ID.
For more information about expressions, see Expressions.
Note:
If the selected
Application Integration
process doesn't need any input values, you don't have to configure input details. For example, when you configure a service task for a bank admin to send promotion emails about loans to all their customers, you don't have to configure any input details for the service task.

Configure input details for Application Integration service tasks

Use input fields of the selected Application Integration process as keys and expressions as their values.
    1Select a service task in the designer.
    2On the Input Details tab, enter a key that matches the input field of the selected Application Integration process.
    3Enter an expression that returns a value for the key.
    4Configure additional input details as key-value pairs.

Conditions for connections for Application Integration service tasks

To design different paths in workflows, use gateways after service tasks. To determine the outcomes of outgoing connections from gateways to other components in the workflow, configure conditions.
Conditions are simple expressions that use the internal IDs of service tasks and output fields of Application Integration processes. Conditions use output values of processes to determine the outcomes of connections.
For more information about expressions, see Expressions.
Consider the example of the workflow for the loan approval process: Workflow for loan application, with user tasks, service tasks, a parallel gateway, and decision gateways for credit risk and affordability checks, leading to either approval or rejection. The properties of the selected connection is highlighted. The properties include name, a toggle to set the connection as the default connection, condition, and description.
The Condition Check decision gateway determines the task outcome based on the output value of the Credit Score Check service task. If the output value is acceptable, then the loan approval process continues to the next step. If the value isn''t acceptable, then the loan application is rejected.
The following sample condition goes to the next step if the Experian credit score is greater than 600:
service_task_2.output.score.creditScore>600 and service_task_2.output.score.bureau="Experian"
Note:
If you want to set a connection as the default connection when conditions in other outgoing connections aren't met, then you don't have to configure a condition for the connection.

Configure conditions for Application Integration service tasks

To design different paths in workflows, configure conditions for gateways after service tasks.
    1Select an outgoing connection from a service task and enter a name for it.
    2Enter a condition that uses the internal ID of the service task and the output field of the process.
    3Optionally, to set a connection as the default connection when conditions in other outgoing connections aren't met, turn on the Set as Default toggle.