Update BP Record

PUT /ws/rest/service/v2/bp/record

Purpose:

Update a record in a specific business process (BP) in a shell by using the project_number value provided from the input JSON options.) If project_number is not provided, update the record at the company level.

To avoid errors and maintain data integrity when using multiple data elements (DEs) with the same field label, ensure that the applicable DEs have the same direction—Input, Output, or Both—or that the combinations of Both/Output or Input/Output are not used.

The input JSON must provide the options used to fetch the data.

This V2 service uses the step form to update the BP record. Required fields and validation rules run against the step form used in the workflow details. If the end step includes a view form, you cannot update it.

Input:

All parameters should be URL encoded.

Both input & output in JSON format in the body.

Note

Update BP Record Input

{

"options":{

"project_number" : "P-0002",

"bpname":"line6",

"LineItemIdentifier":"upwoLISAS",

"optimizedPickerExecution" : "true",

"workflow_details":{

"WFCurrentStepName":"Step 4",

"WFActionName":"Line 3"

}

},

"data":[

{

"ugenUserIDPK":null,

"_bp_lineitems":[

{

"ugenShellPK":"/AP1",

"uuu_tab_id":"Standard",

"short_desc":"desc3_m11",

"upwoLISAS":"0001",

"uuu_line_item_status":"Active"

}

],

"record_no":"uxli6-0020",

"title":"new title"

}

]

}

Notes:

Steps to add LineItemIdentifier in the BP design:

  1. Create a custom DE whose Data definition is 'Sys Auto Sequence'.
  2. Add this DE to the detail form of the BP whose line items needs to be updated.
  3. Navigate to Company Workspace > Business Processes and open the BP.
  4. Navigate to the BP-Home > click Open drop-down > Data Elements. A data element configuration screen appears
  5. Click the Auto Sequence tab and click Add.
  6. Select the Data element added in the detail form and select the level as 'Per record'.
  7. Provide the start value and click Create (next to format), add the parameter 'Sys Sequence counter', and click OK.
  8. Add the DE to Integration > Detail and select "Direction" to "Both" for the DE.
  9. Complete and deploy the BP.
  10. In the body of the request add this DE name as Lineitem identifier and send the request.

Delete the Line-Item, using Update Request:

To delete the line-Item using update request, the field "_delete_line_item" should be used (value of which will be comma separated values of LineItemIdentifier DE) as shown in the following example:

Sample: Delete line-item input

{

"options":{

"project_number" : "P-0002",

"bpname":"line6",

"LineItemIdentifier":"upwoLISAS"

},

"data":[

{

"ugenUserIDPK":null,

"_delete_bp_lineitems":"0002,0001,0003",

"record_no":"uxli6-0021",

"title":"title_m112244"

}

]

}

Output:

JSON object containing 'status', 'data', 'message'

A message will be present if status is not 200 .

Status codes are:

1>200 OK, if all update succeeds.

2>3000, if any of records update fails.

Sample: Update BP Record Response

{

"data": [],

"message": [

{

"_record_status": "success",

"record": {

"ugenUserIDPK": null,

"record_no": "uxli6-0021",

"title": "title_m112244"

}

}

],

"status": 200

}

Data Elements in Line Items

If the following Data Elements are present in the Line Items, they will not be updated.

Related Topics

Business Processes

Create BP Record

Update BP Record with Attachment

Create BP Record with Attachment

Bulk Create Records

Bulk Update Records

Bulk Reverse Auto-populate Records

Response Error Codes

Payment Application with Auto-populate from SOV and Commits

Get BP Record Permission

Update BP Record Permission

Add Assignees to Workflow BP Records



Last Published Tuesday, June 23, 2026