Good day to all.
I am trying to have a user attribute that is automatically filled with the name of the note I make a connection towards.
My workflow goes like this:
- Have some notes explaining this or that.
- Creating a new note.
- Selecting the prototype for that note.
- Writing something into it.
- Connecting it to the destination note I feel it belongs.
(This is my way of commenting / thinking).
Because I’d like to have all these comments pulled together somewhere else, I want to use an agent. Now, these comments are a lot, and I sometimes don’t remember where a particular comment came from. So I’d like to set a user attribute displaying the name of the note its original connection was made to.
I tried this:
if(!$IsPrototype) {
$Source |= $Name(destination);
$MyDate |= date("today");
}
- Where is my thinking error?
- I don’t think this can happen as an OnAdd, because upon adding, I may not have a connection. I think this as a rule would be equally resource-wasting, because it only needs to be set once - when all information is available. What better options would I have?
Thanks for reading this far.
Sebastian.