Let’s say a note has the following rule:
$MyDate2=$MyDate1 + “2 days”
This works as expected.
However, what if, instead of the number 2, I want to use a value that comes from a $Number attribute of the note in question, e.g.:
$MyDate2=$MyDate1 + “$MyNumberAttribute days”
This doesn’t work.
One workaround is to use either an agent or even an edict to write the text of $Rule such that the actual number value of $MyNumberAttribute is used in the text of $Rule, but I have found this approach rather complicated, and it means the text of $Rule is constantly overwritten, so I can’t have any other rules.
Is there a simpler approach?
Thanks, and please let me know if my question needs clarification.