Multiple Queries While Updating Child Records Via Workflow Step

(Doc ID 2354954.1)

Last updated on JANUARY 31, 2018

Applies to:

Siebel CRM - Version 15.18 [IP2015] and later
Information in this document applies to any platform.

Goal

On : 15.18 [IP2015] version, Siebel Workflow

Multiple Queries while updating child records via workflow step



While we are updating order item status with search spec "[Order Header Id] = '"+[&Object Id]+"'", we are observing from log that status is getting updated for each row_id individually rather than updating in bulk(i.e order_id). Just want to know is this the expected functionality.

Please find the attached log and SIF for SIS OM Submit Order Process workflow . Please find Update order_item sql at step "Update Line Items Open"( in wf SIS OM Submit Order Process).


The below query is triggering to update status for all order line items individually.

UPDATE SIEBEL.S_ORDER_ITEM SET
  DB_LAST_UPD_SRC = :1,
  DB_LAST_UPD = current_date,
  LAST_UPD = :2,
  LAST_UPD_BY = :3,
  MODIFICATION_NUM = :4,
  STATUS_CD = :5
  WHERE
  ROW_ID = :6 AND MODIFICATION_NUM = :7
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms