/
Validation rule: Consult_Cannot_Update_ActivityType

Attention: Confluence is not suitable for the storage of highly confidential data. Please ensure that any data classified as Highly Protected is stored using a more secure platform.
If you have any questions, please refer to the University's data classification guide or contact ict.askcyber@sydney.edu.au

Validation rule: Consult_Cannot_Update_ActivityType

Validation rule Details

Name

Consult_Cannot_Update_ActivityType

Label

Consult_Cannot_Update_ActivityType

Object

Assigned_Person__c

Active

Yes

Formula

AND(
ISCHANGED(Type__c),
OR(
AND(
NOT(ISPICKVAL(Outcome__c, '')),
NOT(System_Is_Automated__c)
),
AND(
NOT(ISNEW()),
System_Is_Automated__c,
NOT(ISPICKVAL(Role__c,'Gift Administration Board')),
NOT( $User.User_Role__c == 'Trust_Office_OGC')
)
),
OR(
NOT(Spending_Plan_ID__r.System_Switch_Off_Business_Rules__c),
AND(
Spending_Plan_ID__r.System_Switch_Off_Business_Rules__c,
NOT(CONTAINS($Profile.Name, 'System Administrator'))
)
)
)

Error message

Activity Type cannot be updated if record is automated or outcome is defined.

Error location

Activity Type

Description

Activity Type cannot be updated if consultation record is automated or outcome is defined.

Related content

Validation rule: Consult_ActivityType_Allowed_Values
Validation rule: Consult_ActivityType_Allowed_Values
More like this
Validation rule: Consult_ActivityType_TO_values
Validation rule: Consult_ActivityType_TO_values
More like this
Validation rule: Consult_Cannot_Update_PartyRole
Validation rule: Consult_Cannot_Update_PartyRole
More like this
Validation rule: Consult_Cannot_Update_BCO
Validation rule: Consult_Cannot_Update_BCO
More like this
Validation rule: Consult_Outcome_Restriction
Validation rule: Consult_Outcome_Restriction
More like this
Validation rule: Consult_Update_Not_Allowed
Validation rule: Consult_Update_Not_Allowed
More like this