SAP Knowledge Base Article - Public

3436094 - SAP CPQ Workflow GET and POST APIs are inconsistent with the environment

Symptom

When calling SAP CPQs "POST /api/workflow/v1/workflow/bulk" endpoint, if any existing workflow status transitions exist on the environment that are in conflict with the bulk change, the API returns 400 even if the changes within the bulk update would have removed that conflict as part of the update.

Environment

SAP SALES CLOUD CPQ

Reproducing the Issue

Given a workflow contains:
1. My Quotes: Approved -> Approved: Copy

And a bulk update contains:

2. My Quotes: Approved -> Open: Copy

Even though the bulk update has removed (1), the API will return 400, with an error message that claims (2) is in conflict with (1)

Resolution

Please contact the CPQ Support team as we would need to make a certain change in the backend of your environment to resolve this issue.

See Also

3300146 - How to contact SAP CPQ Support team?

Keywords

Parameter, Bulk, API, Workflow API, Approved, Copy, DeleteWorkflowConfigurationBeforeInsertInBulkAPI    , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem

Product

SAP CPQ all versions