Siebel Open UI >  Workflow Process Error SBL-BPR-00158

Workflow Process Error SBL-BPR-00158 

APPLIES TO:
Siebel CRM - Version 8.1.1.10 [23021] and later
Information in this document applies to any platform.
SYMPTOMS
On : 8.1.1.10 [23021] version, Siebel Workflow

We upgraded our Dev from 8.1.1.6 to 8.1.1.10 and the migrated the Repository and SRF from Dev to QA. We also applied two latest Quick Fixes QF0102008 and QF0002125 successfully. The IRM process in DEV was also successful without any errors.

We are getting an error message during the testing in QA.

ERROR

2021 2014-03-18 10:09:09 0000-00-00 00:00:00 -0500 00000000 001 003f 0001 09 FINSObjMgr_enu 9437250 5184 9996 C:\sia81\siebsrvr\log\FINSObjMgr_enu_0009_9437250.log 8.1.1.10 SIA [23021] ENU

EngInv EngInv 3 0000000553280b28:0 2014-03-18 10:10:02 Workflow engine requested to perform method 'RunProcess'.

EngInv Arg 4 0000000553280b28:0 2014-03-18 10:10:02 Input: @0*0*4*0*0*0*7*EventId10*0VF-1DXW5M9*Sub Event0*11*ProcessName41*FINS AcctOrig Set Applicant Group - Quote10*Event Name14*WriteRecordNew

PrcExec PrcExec 3 0000000553280b28:0 2014-03-18 10:10:02 Executing process definition 'FINS AcctOrig Set Applicant Group - Quote'.

ObjMgrBusServiceLog Error 1 0000000553280b28:0 2014-03-18 10:10:02 (engine.cpp (2682)) SBL-BPR-00158: Cannot execute workflow process definition 'FINS AcctOrig Set Applicant Group - Quote' because it either does not exist, it is not Active, it has expired, or it was recently updated and re-published using a different Row ID.


Actually, we do not have any workflow processes s created or used in our Siebel application.
This is some vanilla stuff which is conflicting.


CAUSE
The 'Action Sets' of the Runtime Event has invalid active workflow process(es)

The error SBL-BPR-00158 comes from runtime event, EventId 0VF-1DXW5M. Here is extracted from the log:

EngInv Arg 4 0000000553280b28:0 2014-03-18 10:10:02 Input: @0*0*4*0*0*0*7*EventId10*0VF-1DXW5M9*Sub Event0*11*ProcessName41*FINS AcctOrig Set Applicant Group - Quote10*Event Name14*WriteRecordNew

The above shows the runtime event 0VF-1DXW5M triggers execution of the workflow process named 'FINS AcctOrig Set Applicant Group - Quote'.

The workflow process executed by the runtime event has to be an Active workflow process, i.e., the workflow process has been activated.

Query the active workflow process in Site Map > Administration - Business Process > Workflow Deployment > Repository Workflow Processes > Active Workflow Processes:
Click on Query, enter Name = FINS AcctOrig Set Applicant Group - Quote, and click on Go.

0 row returned, which means the workflow process is not Active, i.e., not being activated.

The runtime event 0VF-1DXW5M tried to execute a workflow process that is not activated, thus resulted in the error SBL-BPR-00158.

Note:

1. The log can show ProcessId instead of ProcessName as the following;

EngInv Arg 4 00000065534b0ddc:0 2014-04-14 09:05:31 Input: @0*0*4*0*0*0*7*EventId9*0V-1IZFFO9*ProcessId9*0V-1IZFF29*Sub Event0*10*Event Name18*WriteRecordUpdated

This means the runtime event 0V-1IZFFO triggers execution of the workflow process id 0V-1IZFF2.

You can query the active workflow process in Site Map > Administration - Business Process > Workflow Deployment > Repository Workflow Processes > Active Workflow Processes:
Click on Query, enter the following in any field:
[Id] = 'ProcessId'
and click on Go.

2. The log can show multiple lines for different ProcessId for the same runtime event. Query the active workflow process one by one to validate all the ProcessId are active.

SOLUTION
The solution is to inactivate the Action Set that has the inactive workflow process:

1. In Site Map > Administration - Runtime Event > Events, query to find the event, by clicking on Query, enter [Id] = '0VF-1DXW5M' in any one of the fields, and click on Go. Drill down on the 'Action Set name' to see the detail of the Action Sets for the event.
You will see the details in the Actions in the middle applet. In this case, there is one record for one Action:
Action Type = BusService
Active = checked

It means the runtime event action is active.

The detail for the Action is in 'More Info' in the lowest applet. The 'Business Service Context' field in 'More Info' has the workflow process being executed by the runtime event, here it is:
Business Service Context: "ProcessName", "FINS AcctOrig Set Applicant Group - Quote"

Which matches the ProcessName41*FINS AcctOrig Set Applicant Group - Quote in the log.

2. Query the active workflow process in Site Map > Administration - Business Process > Workflow Deployment > Repository Workflow Processes > Active Workflow Processes:
Click on Query, enter Name = FINS AcctOrig Set Applicant Group - Quote, and click on Go.

0 row returned, which means the workflow process is not Active, i.e., not being activated.

(To query by ProcessId in Site Map > Administration - Business Process > Workflow Deployment > Repository Workflow Processes > Active Workflow Processes:
Click on Query, enter the following in any field:
[Id] = 'ProcessId'
and click on Go.)

3. Uncheck the Active flag in the Actions to inactivate the action.

4. Reload Runtime Events. In Site Map > Administration - Runtime Event > Events, choose Menu > Reload Runtime Events.

5. Restart Siebel Server services after reload the runtime events.

After doing the above, the workflow error message is now gone.

Note, in the scenario of having multiple different ProcessId for the runtime event, there will be more than one record in the Actions for the Action Sets in the step 1, each one referencing a different ProcessId. You will do steps 2 to 3 for each Action in step 1.