Override TaskStateUtil default values on task table

Elliott2
Tera Expert

So some of our guys in the past added additional state field choices for the Task table. These were not reflected in both TaskStateUtil or as dictionary attributes on the state field.

My question is, to make the new states on Task compatible with TaskStateUtil, should it be done as a dictionary attribute or through modifying TaskStateUtil.

I already have an understanding of how it works on extended tables.

5 REPLIES 5

Allen Andreas
Administrator
Administrator

Hi,

You'd apply the state attributes as necessary in the dictionary override record for your respective table. 

For the most part this would suffice and the TaskStateUtil SI would work with what you've specified, otherwise it uses the system defaults.

The purpose of the TaskStateUtil is to basically know when a record is active or inactive. So you're helping define that per your attributes for the relevant table.

If it's an additional state that isn't the default work state, but isn't an inactive type state, then it won't really apply to TaskStateUtil.

Please mark reply as Helpful/Correct, if applicable. Thanks!

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Sorry you must have misunderstood. I'm trying to override the default settings because we added additional states on the task table. I'm not talking about overriding it on a child table.

Hello,

I must have, my apologies.

It seems you're already aware.

You would need to change it on the TaskStateUtil itself then and the "system defaults", if they apply, meaning below:

Most of what I said above is still relevant in regard to when you would even need to consider making adjustments. Without specifics from you, I covered the entire spectrum. If it's working states or inactive states, that is when you'd make your adjustment and that is the purpose of the TaskStateUtil, itself.

If the state(s) that were added are not a default work state or an inactive state that needs to be accounted for, then you don't have to do anything with TaskStateUtil.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Thanks for marking my reply as Helpful.

If it also ends up guiding you Correctly, please also mark as Correct.

Thanks and take care! 🙂


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!