- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 11:53 PM
I have a scoped application with a table that extends the task table. The state field is inherited from task table but I have created my own choices [Choice and Numeric Values] -
Open 1,
Work in progress 2,
Pending 3,
Resolved 5,
Closed complete 7
Closed Incomplete 8
When I mark the Active state to false the state automatically changes to pending.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2025 01:31 AM
Hello @Arijit Saikia
Look for any business rules that might be affecting the state field. Specifically, check if there is a rule that sets the state to "Pending" when the Active field is set to false. The "Task Active State Management" business rule is a common one that might be involved.
And I firmly believe this is due to OOTB BR [Task Active State Management] only which is working for your extended table and since the state even being newly created where pending is 3 while ootb is closed complete either redesign choices aligning with ootb choices, so your process logic is not affected rather than configuring ootb BR.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2025 01:31 AM
Hello @Arijit Saikia
Look for any business rules that might be affecting the state field. Specifically, check if there is a rule that sets the state to "Pending" when the Active field is set to false. The "Task Active State Management" business rule is a common one that might be involved.
And I firmly believe this is due to OOTB BR [Task Active State Management] only which is working for your extended table and since the state even being newly created where pending is 3 while ootb is closed complete either redesign choices aligning with ootb choices, so your process logic is not affected rather than configuring ootb BR.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2025 10:01 PM
Thanks Viraj. I changed the values to realign with OOTB State choice values matching the task table. Works fine now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 11:15 AM
Since your table extends task, it inherits the default task state behavior.
To resolve this, you should override the dictionary attributes for the state field in your table:
- Go to System Definition > Dictionary and open the state field for your table.
- Create a Dictionary Override for your specific table.
- Check Override attributes and add the following:
- default_close_state=7 (or the correct value for your Closed Complete state)
- close_states=7;8 (listing all valid close states)
- ignore_filter_on_new=true (this ensures the filter is ignored when creating new records, avoiding any automatic changes to state based on filters)
- Save the changes and test again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 11:28 AM
Since your table extends the task table, it inherits the default task state behavior.
Checking Business Rules is not the best approach in this case, since the issue is related to the dictionary configuration rather than business rule logic.
To resolve this, you should override the dictionary attributes for the state field in your table.
- Go to System Definition > Dictionary and open the state field for your table.
- Create a Dictionary Override for your specific table.
- Check Override attributes and add the following:
- default_close_state=7 (or the correct value for your Closed Complete state)
- close_states=7;8 (listing all valid close states)
- ignore_filter_on_new=true (this ensures the filter is ignored when creating new records, avoiding any automatic changes to state based on filters)
- Save the changes and test again.
Note: I apologize for not being able to edit or delete my previous message with my other account. Thank you for your understanding.