We have a requirement where the tooltip for only some chevron labels must be altered whereas the others use the pyStageName that we set in a data page. The display for the chevron labels is set in our section pyStageName. We have attempted to add in a StageNameDescription value to the data page used to source the tooltip (uses pyStageName property from data page D_CaseStages), but when we try to make the data page editable and fill it with new data, it messes up the pyStageStatus so the chevron backgrounds do not reflect properly.
Can we set tooltips for chevron stage labels for a new property in a different class from the class we have pyStageName in? If we had the new description property in the same Embed-Stage class, how can we successfully add this to our data page to be used for the tooltip without altering our data page?
Generally, we just want to know what the best approach would be to adding tooltips to chevron stage names where the tooltip is a different property from the pyStageName itself.
Instead of marking as D_CaseStages as editable and adding new property. Please try to override the data page(Available rule) and use a post processing activity to add new property which holds the tooltip info. Again, override the pyStageName section (Available) to map the tooltip to the new property added.
Approach 2 is more recommended.(stage labels for a new property)
Yeah we can use the post processing activity as kumaa21 suggested.
Or we can have Datatransform/activity that gets called during the Case Instantiation and Stage instantiation to set the tooltip values for the new property(say pyStageToolTip) and configure this property in the pyStageName section.