Skip to main content
Skip table of contents

How To Use Visibility Rules in a Detail Page or Milestone Diagram

The DCM Page Builder and the Milestone Builder can hide elements or transitions based on the result of a custom rule. 

The rule needs to be an SQL Function that has input depending on what it's used for, but the output always has to be a 0 (false/hide) or 1 (true/show).


Detail Page Builder Visibility Rules

To determine if an element will be hidden or shown, the invoker executes an AppBase Rule with the tag 'cust' or 'Page Element Visibility'. Visibility and Readonly rules have the same signature and are tagged by 'Page Element Visibility' tag.

DCM Sample Rules:

Samples of visibility function rules are explained below.

QA_return0Fn

SQL rule function that always determines 0 (hidden)

QA_return1FnSQL rule function that always determines 1 (show)
SMPL_visByStateFnSQL rule function that determines visibility by the milestone or state code
SMPL_visByPriorityFnSQL rule function that determines visibility by the priority code

Possible Input Parameters:

These are the parameters of the function. You don't need to fill anything out. DCM will add itself. It needs one input parameter at least.

CaseCase_Id or CaseId (Number)Optional
TaskTask_Id or TaskId (Number)Optional
PartyExternalParty_Id or ExternalPartyId (Number)Optional
MDMEntityId (Number)Optional

Milestone Diagram Visibility Rules

The invoker executes an AppBase Rule with the tag 'cust' or 'Case Route Visibility'. All custom rules should be tagged 'cust' to select them.

A custom rule that is attached to a Transition to determine his visibility.

DCM Sample Rules:

Samples of visibility function rules are explained below.

QA_return0Fn

SQL rule function that always determines 0 (hidden)

QA_return1FnSQL rule function that always determines 1 (show)
SMPL_visByBusinessRoleFnSQL rule function that determines visibility by the business role of a current user
SMPL_visByTransitionCodeFnSQL rule function that determines visibility by the transition code
SMPL_visByStateFnSQL rule function that determines visibility by the milestone code

Possible Input Parameters:

These are the parameters of the function. You don't need to fill anything out. DCM will add itself. It needs one input parameter at least.

CaseCase_Id or CaseId (Number)Optional
TaskTask_Id or TaskId (Number)Optional
PartyExternalParty_Id or ExternalPartyId (Number)Optional
MilestoneInput (NCLOB)Could be used by Milestone visibility rules to determine a transition data

Related Pages


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.