We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Business Rule validation works in Form view but not in Project Workspace

Salvatore B
Tera Contributor

Hello everyone,

I am facing an inconsistency with a Business Rule that validates the planned duration of a project task.

The Business rule is designed to prevent users from setting a task duration that exceeds a maximum value defined in a system property. When the duration is greater than the allowed threshold, an error message is displayed and the update is blocked.

The behavior is the following:

  • When the project task is opened and edited through the standard Form view, the business rule works as expected.
    If the Planned Duration exceeds the configured limit, the Business Rule is triggered and the user receives the expected error message.

  • However, when the same task duration is modified through Project Workspace, specifically from the Planning section using the Gantt chart, the validation is not triggered.
    The duration can be extended beyond the allowed limit without any error message, and the record is updated successfully.

I would like to clarify that the system property com.snc.project.fire_brs_from_planning_console is set to true in our instance.

Based on the documentation and expected behavior, this property should allow Business Rules to be executed even when updates are performed from the Gantt chart in the Project Workspace.

Has anyone experienced a similar behavior with Project Workspace? Any guidance on how to ensure consistent validation logic across both Form view and Project Workspace would be greatly appreciated.

Thank you in advance for your support

 

3 REPLIES 3

miftikhar20
Kilo Patron

Hi @Salvatore B,

 

Create this system property and set it to true:

 

Name: sn_pw.save_data_with_glide_record
Type: true | false
Value: true

 

Related KB article: 
Business Rule does not run in Project Workspace - Support and Troubleshooting - Now Support Portal

 

If my response helped, please mark it as the accepted solution so others can benefit as well.

 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Hello, thank you for your response.

I would like to point out that this approach has already been tested as well. The system property sn_pw.save_data_with_glide_record was created and set to true, but the issue is still occurring

Ankur Bawiskar
Tera Patron

@Salvatore B 

try the approach shared by @miftikhar20 and see if that helps.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader