Table of Contents

Search

  1. Preface
  2. Introduction to Services Integration Framework
  3. Setting Up the SIF SDK
  4. Request and Response Objects
  5. Transactions and Exception Handling
  6. ORS-Specific SIF API
  7. Asynchronous SIF Requests
  8. ORS-Specific JMS Event Messages
  9. Using Security Access Manager
  10. Using Dynamic Data Masking
  11. SIF API Reference
  12. Troubleshooting
  13. Appendix A: Identifiers
  14. Appendix B: Frequently Asked Questions

Services Integration Framework Guide

Services Integration Framework Guide

UpdateTask

UpdateTask

Use the
UpdateTask
API to do one of the following:
  • Reassign a task.
  • Change the task data.
  • Append to the task comment.

TaskData

The
TaskData
object contains information about a task.
The following table lists the TaskData fields that you can configure:
Field
Description
TaskRecord
A link to a data record associated with a task.
Comment
An optional task comment.
TaskType
The task type.
SubjectAreaUID
The UID of the task subject area.
Title
The task title.
TaskID
The ROWID of the task. Cannot be set by user.
DueDate
The date when the task is due.
Priority
The priority of the task.
1
: High priority.
0
: Normal priority. The default is
0
.
-1
: Low priority.
StatusEnum
The workflow status. The default is
TaskStatusEnum.OPEN
.
OwnerUID
The user or role ID to whom the task is assigned.
InteractionID
The Interaction ID.
WorkflowProcessID
The ID of the workflow process that contains the task. Cannot be set by user.
CreateDate
The date when the task was created. Cannot be set by user.
Creator
The name of the user who created the task. Cannot be set by user.
LastUpdateDate
The date when the task was updated. Cannot be set by user.
LastUpdatedBy
The name of the user who updated the task. Cannot be set by user.
PreviousOwner
The name of the user or role to whom the task was previously assigned. The value is Null if the task is new or has not been assigned. Cannot be set by user.

TaskRecord

The
TaskRecord
object contains information about a record.
The following table describes the TaskRecord fields:
Field
Description
SiperianObjectUID
An identifier for an object in Informatica MDM Hub.
RecordKey
An identifier for a record in Informatica MDM Hub.
MatchRuleUID
An identifier for a match rule in Informatica MDM Hub. Only merge tasks require a MatchRuleUID.

Required Request Parameters

The following table describes the required
UpdateTask
request parameters:
Parameter
Description
TaskData
Specifies the task to update.

Optional Request Parameters

The
UpdateTask
API does not have any optional request parameters.

Response Fields

The following table describes the fields the
UpdateTask
response returns:
Parameter
Description
Message
Contains a message indicating if the
UpdateTask
request was processed successfully.
InteractionID
The interaction ID.

Use Cases

The following scenario is a common use case for using the
UpdateTask
request:
  • Change existing task data.

Usage Example

The following example updates an existing task:
UpdateTaskRequest request = new UpdateTaskRequest(); TaskData task = new TaskData(); request.setTaskData(task); task.setTaskId("1234"); task.setTitle("Research and resolve item"); task.setComment("This task has been updated."); task.setDueDate(new Date()); task.setSubjectAreaUid("SUBJECT_AREA.test|Person"); task.setTaskType("ReviewNoApprove"); UpdateTaskResponse response = (UpdateTaskResponse) sipClient.process(request);

0 COMMENTS

We’d like to hear from you!