I have the requirement to reference the plan name in a formula/rule to dynamically access values from a MLDT depending on the executed plan. As an example, if I am calculating plan 'ABC' I would like to access index 'ABC' in the MDLT, if I am calculating Plan 'XYZ' I would like to access index 'XYZ'.
Normally I would simply call Position.Plan.Name to get the plan name, however this option does not seem to be available for the use in formulas / rules. Position.Title.Plan.Name is available, but if a Plan is assigned on Position level I might use the wrong plan name in calculation. Also, you can't create a Fixed Value for strings, that was another option i considered.
Does anyone have an idea how to solve this or has found another way to reference the plan in rules?
Thank you and kind regards,
Below blog which can provide you lot of information on how to make use of Plugin function.