/
Validation rule: Consult_Cannot_Update_PartyRole

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_PartyRole

Validation rule Details

Name

Consult_Cannot_Update_PartyRole

Label

Consult_Cannot_Update_PartyRole

Object

Assigned_Person__c

Active

Yes

Formula

AND(
ISCHANGED(Role__c),
OR(
AND(
NOT(ISPICKVAL(Outcome__c, '')),
NOT(System_Is_Automated__c)
),
AND(
NOT(ISNEW()),
System_Is_Automated__c
)
),
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

Consultant/Reviewer cannot be updated if record is automated or outcome is defined.

Error location

Consultant/Reviewer Role

Description

Party Role cannot be updated if consultation record is automated or outcome is defined.

Related content

Validation rule: Consult_PartyRole_Allowed_Values
Validation rule: Consult_PartyRole_Allowed_Values
More like this
Validation rule: Consult_Cannot_Update_ActivityType
Validation rule: Consult_Cannot_Update_ActivityType
More like this
Validation rule: Consult_Outcome_Restriction
Validation rule: Consult_Outcome_Restriction
More like this
Validation rule: Consult_Cannot_Update_BCO
Validation rule: Consult_Cannot_Update_BCO
More like this
Validation rule: Consult_Update_Not_Allowed
Validation rule: Consult_Update_Not_Allowed
More like this
Validation rule: Consult_ActivityType_Allowed_Values
Validation rule: Consult_ActivityType_Allowed_Values
More like this