Siebel Business Process Framework: Task UI Guide > Best Practices for Working with Tasks > Design Patterns for Task User Experience >

Optional View

When a task needs to present some data for review, whose existence is optional, add a Siebel Query Option step before the optional view to check for the existence of data to be presented. Assign the query step's NumAffRows output argument to a task property of type Number. Follow the query step with a decision step with two outgoing branches: one of type Condition, and the other of type Default. In the conditional branch, test that this task property's value equals literal value of 0. Use that condition branch to by-pass the optional view, because it will be executed if no rows were found in the query step.


Field Activity may have instructions associated with it, but if there are no instructions to show, the view that presents them can be skipped.

Siebel Business Process Framework: Task UI Guide Copyright © 2006, Oracle. All rights reserved.