As a best practice you really should have
Code: Select all
DIMENSIONELEMENTINSERT('DimensionName','',pNewElement,'N');
DIMENSIONELEMENTCOMPONENTADD('DimensionName',pRollUp,pNewElement,1);
Even though TM1 doesn't seem to be throwing any errors at you for not first defining the new element and handling the insert in the background, you should define an element before trying to add it as a child to a consolidation.
When a TI process runs it runs with admin rights not the rights of the user running the process. You have given "Group1" read rights to the process so members can run the process and add new elements. However after the process has run it doesn't follow that Group1 would have any special rights over the new elements (or even be able to see them in this case.)
Why this is happening is simple, it is because you have element security applied to the dimension. As per the manuals once element security is applied to a dimension then the
default level of access for all non admin groups to all new elements is NONE. If you want Group1 to have immediate access to the new elements then you need to write to the element security cube on the data tab, or you could use rules in the element security cube to avoid needing to set security for new elements.
If you have inadvertently applied element security and you don't ant or need it for this dimension then the only way to remove it is to stop the server, delete the element security cube and restart.