Unable To Bulk Update Workflow Records Which Are Accepted By User Through REST API
(Doc ID 3049121.1)
Last updated on SEPTEMBER 23, 2024
Applies to:
Primavera Unifier Cloud Service - Version 24.5 to N/A [Release 24.5 to NA]Information in this document applies to any platform.
Symptoms
ACTUAL BEHAVIOR
Expect to update records for a workflow type Business Process (BP) through REST API
Bulk update API end-point (/ws/rest/service/v2/bp/record/bulk) only permits updates to non-workflow records. Otherwise API call returns error "BP must be of Non Workflow".
Record Update API end-point (/ws/rest/service/v2/bp/record/) only permits updates to records that are not yet accepted by users. Otherwise API call returns error "Record has already been accepted by Task Assignee".
EXPECT BEHAVIOR
Acknowledge the usage of the Bulk Edit function from front-end of the application. But there is a big number of records that need to be updated in the system.
The issue can be reproduced by the following steps:
- Using Rest call tool like Postman and try to update Workflow Type BP Records which are accepted by Users.
- Call PUT API end-point (/ws/rest/service/v2/bp/record/bulk), response "BP must be of Non Workflow" is displayed.
- Call PUT API end-point (/ws/rest/service/v2/bp/record/), response "Record has already been accepted by Task Assignee" is displayed.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |