Critical Path Flag

Is there any way to assign a flag (number 1 in a column) to those line items that are in the critical path?

Is expected that if the critical path changes, this flags change as well automatically.

Thanks for the help

Answers