Applies to:Area(s):Siebel Workflow
Release(s):V7 (Enterprise), V7 (Professional), V7 (MidMarket), V8 (Enterprise), V8 (Professional)
Database(s):All Supported Databases
App Server OS(s):All Supported Platforms
Latest release tested against:V8 (Enterprise)
Keywords:SBL-BPR-00113, force active, activation, error, RTE, run-time, workflow process
This document was previously published as Siebel FAQ 2274.
- A workflow process manager task is started from a workflow policy, passing the row id. In this scenario, the context is created within the task because there is no user interface (UI) or object manager context. For this case, the workflow process works correctly and is able to obtain the field values.
- A run-time event (RTE) calls a workflow process, passing the row id. In this scenario, there is a context because RTEs are called within the UI context. The workflow process is executed in the client object manager, using the current context. Hence, if some fields used in the workflow process have not been activated, the workflow process engine will re-query the business component with the corresponding fields and restore the context (current record) before processing the flow. Below are two examples, one showing the workflow manager executes correctly and the other where it does not work correctly:
- The RTE allows saving the context. If the RTE is based on the WriteRecord instance, this mechanism will work because the context can be saved. For this case, the workflow executes correctly.
- The RTE does not allow saving the context. If the RTE is based on the PreWriteRecord instance, this mechanism will not work because there is a pending transaction and the context cannot be saved. For this case, the workflow process will fail with error below.
- Siebel Bookshelf version 7.8 > Siebel Business Process Designer Administration Guide > For Administrators: Administering Workflow Processes > Administering Workflow Processes in the Run-Time Client > Activating Fields Used by Workflow Processes.
- Siebel Bookshelf version 8.0 > Siebel Business Process Framework: Workflow Guide > For Administrators: Administering Workflow Processes > Activating Fields Used by Workflow Processes.