Search This Blog

SBL-DAT-60217: Can't write data without validation.

Applies to:

Siebel CRM - Version: 8.1 [21039] and later   [Release: V8 and later ]
Siebel CRM - Version: 8.1 SIA [21039] and later    [Release: V8 and later]
Siebel CRM - Version: 8.0 SIA [20405] and later    [Release: V8 and later]
Siebel CRM - Version: 8.0 [20405] and later    [Release: V8 and later]
Information in this document applies to any platform.

Symptoms

When task transaction has been disabled, setting DeferWrite=True for Siebel Operation Insert Step causes the task to give the following errors:

SBL-BPR-00187, SBL-BPR-00100, SBL-DAT-60217

The specific error message is:

[1] Error updating business component at step '<step name>'. (SBL-BPR-00187)
[2] This error is returned when the workflow/task is executing the Siebel Operation business service.(SBL-BPR-00100)
[3] Can't write data without validation.(SBL-DAT-60217)

Note that <step name> shown above is a placeholder for the step where the error occurs.

These errors occur in the task when the Siebel Operation step with DeferWrite=True in the task is reached.

Cause

DeferWrite =True is not supported when task transaction has been disabled.

When task transaction has been disabled, DeferWrite=True should not be used.

Note that there are two cases for this, as task transaction can be disabled in two ways:

  1. Task Transaction disabled for the entire Task.
    When task transaction has been disabled at task level, by setting the Transactional task property to FALSE, then DeferWrite=True should NOT be used in any Siebel Operation INSERT steps in that specific task.

  2. Task Transaction disabled at the Business Component Level.
    When task transaction has been disabled at Business Component level, by setting Immediate Commit In Task user property to TRUE for a specific Business Component, then DeferWrite=True should NOT be used in any Siebel Operation INSERT steps which are based on that specific Business Component in any Task.

A new documentation change request Bug 12-1X47EZR  has been submitted to request that this information be added to bookshelf.

Disabling Task Transaction should be done only when needed and thoroughly tested, as noted in the Siebel Bookshelf, Business Process Framework: Task UI Guide.

Task transaction is a mechanism that allows you to keep data associated with a task instance separate from the Siebel Business Component tables until the task data is explicitly committed to the database. The default behavior for tasks is to have task transaction enabled. Disabling task transaction can result in unpredictable behavior and must be thoroughly tested before use in production.

Solution

When task transaction has been disabled, then DeferWrite=True should not be used. 


Workaround:

When Task Transaction needs to be disabled, DeferWrite can be set to False on the Siebel Operation INSERT step which is affected by this. Please reference the two cases described above in the Cause section of this document.

When DeferWrite = False, then all of the required fields for that Business Component must be provided some values inside the Siebel Operation step. These values can then be updated by the user in the subsequent Task Views. As mentioned above, this will need to be thoroughly tested.

References

BUG:12-1X47EZR - WHEN TASK TRANSACTIONS ARE DISABLED, SIEBEL OPERATION INSERT STEPS SHOULD NOT USE DEFERWRITE = TRUE

Applies to:

Siebel Communications - Version: 8.1.1.2 SIA[21215] and later   [Release: V8 and later ]
Information in this document applies to any platform.

Symptoms

Customer has set Task Transaction property False and also Derfer Write property - False. Customer trying to pause the task by the pause button - getting following error.
Customer getting error in task that Can't write data without validation.(SBL-DAT-60217)

Cause


These errors occur in the task when the Siebel Operation step with DeferWrite=True in the task is reached.
But it was set to False.
Steps -

Created Task based in Action BO

Start -> Siebel Operation --> view -->End

Siebel Operation with Defer Write - false and Task - Transaction Property - False

If you modify the some field on applet and pause the task by pause button - giving error - Can't write data without validation

If you hit out side also - it is giving error - Can't write data without validation

This is a Product Defect.

Solution

This is a product Defect. CR #12-1Z6VWWC has been raised to address this issue.
Code fix requires a low level change which may require lot to be compiled. This is going to fix in next fix pack. This can not be provide as Quick fix in current version.
 

Please refer following doc id for the same - Support Recommended    Task Based UI Task With Transaction Disabled & Siebel Operation INSERT Step With DeferWrite=TRUE Gives
SBL-BPR-00187, SBL-BPR-00100, SBL-DAT-60217 Errors (Doc ID 1066712.1)


No comments:

Post a Comment