Workflow Through RTE Setfieldvalue Event Invoked Twice
(Doc ID 2476734.1)
Last updated on APRIL 04, 2025
Applies to:
Siebel Life Sciences CRM - Version 18.5 to 23.1 [Release V17]Information in this document applies to any platform.
Symptoms
The Workflow Process was executed twice when invoked from a Runtime Event > "SetFieldValue" for specific record
The issue can be reproduced at will with the following steps:
Configuration In Siebel Tools:-
1. Create Workflow Process based on BO : Order Entry (Sales)
example : Workflow Name : Test RTE
2. Add the Process Properties: Line Item Id, Comments
3.Add the steps below:
Start --> Workflow Utilities - echo --> Siebel Operation Update Step --> Siebel Operation Query Step --> End
4. Deploy this workflow
In the Siebel Application:
1. From Administration - Runtime Events > Action Sets, create a new record:
Name = Test RTE
2. In Actions applet add:
Name = Test RTE
Action Type = BusService
Sequence = 1
Business Service Name = Workflow Process Manager
Business Service Method = RunProcess
Business Service Context = "ProcessName", "Test RTE"
3. In the Events view add:
Sequence = -1
Object Type = BusComp
Object Name = Order Entry - Line
Event = SetFieldValue
Subevent = Description
Action Set Name = Test RTE
4. Reload runtime events from the Menu option
5. Test it by creating 2 stand alone products (GC1,GC2) and release it
6. Increase workflow instance level to 4 from Workflow Monitoring View
7. Test it by creating an Order and navigate to Line Items detail view add following 3 line items
a. GC1
b. GC2
c. GC2
d. GC1
8. Now update the Comments field for 4th line item
Expected Result: it should update only 4th line item comments field and line item applet should get refreshed due to query on Orders BC
Actual Result: it is updating comments field for 1st line item as well
9. Now update the Comments field for 3rd line item
Expected Result: it should update only 3rd line item comments field and line item applet should get refreshed due to query on Orders BC
Actual Result: it is updating comments field for 1st line item as well
10. Review the workflow instance monitor, and 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 |