I am new in ARIS scripting. I want to add logic in report in such way that if ARIS user rename the process from DBM that changes should reflect in ARIS folder name & VACD model name in portal view.

I have tried some code but it is not working. 

var ProcessLevel = RootDef.Attribute(DBMProcessLevel, g_nLoc).getValue();
          VACDAss.Attribute(ProcessLevel, g_nLoc).setValue(ProcessLevel);
            VACDAss.Attribute(VACDModelType, g_nLoc).setValue(ModelType);

Please help me in this like how can i achive this.

Thanks in Advance