I need to update a DOM field using a method I've used before for other fields.
helper.UpdateField("profileInstanceParameterName", 0L);
The Profile parameter has the Value Remarks : Reference to 'process_automation/Channel/Channel/FlagDeleteDA'
In the logging I however get following error:
An issue occurred while instructing the create service action: System.InvalidOperationException: ParameterEntry ..... doesn't contain a reference to a DOM value at Skyline.DataMiner.DataMinerSolutions.ProcessAutomation.Manager.PaProfileLoadDomHelper.UpdateField[T[(String parameterName, T value) at PA.ProfileLoadDomTemplate.Script.Run(Engine engine)
If I look up the DOM instance I can see following:
FieldDescriptorName: FlagDeleteDA
FieldDescriptorID: ....
No FieldValue for FieldDescriptor found
It should be possible to set the field value if no value has been set before, right?
hi Jeroen
It looks like the profile instance that's currently assigned to the activity doesn't have a reference to field in the process DOM instance. Could you check if it does?