|
|
|
|
|
|
|
Re: Problem to create node from palette [message #1826106 is a reply to message #1824503] |
Sun, 19 April 2020 17:40 |
Avi Shaked Messages: 135 Registered: October 2019 |
Senior Member |
|
|
yes.
In the create instance properties you can see variable name = instance. You may change it or leave it as it is ("instance").
Then, you need to add another "change context" operation below the "create instance" operation (by right clicking ...). You then use "var: instance" or "aql: instance" for the change context browse expression (in the properties window).
Please let me know you managed it.
Regards,
Avi
P.S. If you wanted to change the context to another entity, and not the newly created one, you may use the "set" operation to declare a variable and then use "change context" operation, or just enter any AQL query for the change context browse expression.
[Updated on: Sun, 19 April 2020 17:42] Report message to a moderator
|
|
|
|
Re: Problem to create node from palette [message #1826185 is a reply to message #1826149] |
Mon, 20 April 2020 17:55 |
Avi Shaked Messages: 135 Registered: October 2019 |
Senior Member |
|
|
Hi,
I can see the problem. If I had the odesign I could have commented better, but I will attempt to suggest some help:
Verify the type that the createProtection tool is applied to (. It needs to be applied to a specific information element (and if not, then you should at least navigate to a specific information element from from the element it is applied to). I do not see it in your tool (Screenshot2).
Specifically, it looks like you are applying the tool a Main element, from there you navigate to a System element (which hopefully was already created, otherwise navigation won't work). Then, from there you navigate to "infos", which is NOT a specific information element. You need to navigate to a specific information instance.
I would suggest that you:
1. try to change the first "change context" to var: container (so that you'll start from the element you clicked on).
2. Assuming the element you clicked on is typed "system" (i.e., the diagram is a representation of system; if it's a representation of another element let me know), create an information element.
3. After the information element creation, in the same tool, change context to the information element you just created and only then create a protection element.
If this works for you, we can continue.
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.26655 seconds