My Oracle Support Banner

Workflow Through RTE Setfieldvalue Event Invoked Twice (Doc ID 2476734.1)

Last updated on MAY 18, 2021

Applies to:

Siebel Life Sciences CRM - Version 18.5 and later
Information in this document applies to any platform.

Symptoms

On : 18.5 version, Order Management

ACTUAL BEHAVIOR
---------------

workflow got invoked twice through RTE SetFieldValue event for specific record 

 

EXPECTED BEHAVIOR

--------------

workflow should get invoked only once through RTE SetFieldValue event for specific record 


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

==> Configuration :-

Create Workflow with below steps based on BO : Order Entry (Sales)==>(Example

Wf Name : Test RTE)

Start --> Workflow Utilities - echo --> Siebel Operation Update Step -->

Siebel Operation Query Step --> End

--> Process Properties :- Line Item Id,Comments

== Step Details ==

Step 1: Workflow Utilities - echo

BS Name :Workflow Utilities

BS Method : Echo

Output Arguments :-

1. Property Name = Comments ; Type = : Business Component; Business Component

Name = Order Entry - Line Items ; Business Component Field = Description

2. Property Name = Line Item Id ; Type = : Business Component; Business

Component Name = Order Entry - Line Items ; Business Component Field = Id

Step 2: Siebel Operation Update Step

BC : Order Entry - Line Items (Simple)

Operation : Update

Input:-

Field Name = Description ; Type = Process Property; Property Name = Comments

Step 3 :

BC : Order Entry - Orders

Operation : Query

Input:-

Field Name = Id ; Type = Process Property; Property Name = Object Id

deploy this workflow

 

==RTE event configuration ==

1. Action Sets :-

Name = Test RTE

Actions :-

Name = Test RTE ; Action Type = BusService ; Sequence = 1

Business Service Name = Workflow Process Manager

Business Service Method = RunProcess

Business Service Context = "ProcessName", "Test RTE"

2. Events :-

Sequence = -1 ; Object Type = BusComp ; Object Name = Order Entry - Line

Items ; Event = SetFieldValue ; Subevent = Description ; Action Set Name = Test RTE

do reload runtime events

==> Product Configuration

Create following 2(GC1,GC2) stand alone products and release it

increase workflow instance level to 4

== Test Case ==

Create Order and navigate to Line Items detail view

add following 3 line items

1. GC1

2. GC2

3. GC2

4. GC1

Now update the Comments field for 4th line item

expected :- it should update only 4th line item comments field and line item applet should get refreshed due to query on Orders BC

Actual :- it is updating comments field for 1st line item as well

Test case 2 :-

Now update the Comments field for 3rd line item

expected :- it should update only 3rd line item comments field and line item

applet should get refreshed due to query on Orders BC

Actual :- it is updating comments field for 1st line item as well

 

review the workflow instance monitor, we can see that workflow getting invoked twice

1st instance for the updated line item

2nd instance for the 1st line item displayed in line items applet

Changes

 

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!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.