Anyone else been getting this lately: [Warning: Va...
# suiteflow
d
Anyone else been getting this lately: [Warning: Value cannot be set in BEFORELOAD on already existing (not a new) record.] I have regularly created a custom non-stored field based on a SS, then created a stored value version that the WF writes to. Just in the past few weeks, been getting this error. Pretty frustrating. NS support shared this with me: "Based on our records, this error has already been in effect since 2014. I understand your curiosity, as personally, I have only noticed that this error has become stricter after 2022's Q4 but I cannot confirm this as this was not indicated in the prior Release Notes (Perhaps in hotpushes or quick fixes)."
m
Yes I have gotten this error many times when you are performing a set field value action upon Entry of a new state when the transition to that state has NO trigger
NetSuite performs the transistion but since therre is no load/save of the record during the transition process the Set Field Value action is not triggered. Then it is attempted to perfomr the set field value when someone views the record (On Before Record Load), which NetSuite does not allow for some reason
d
Yeah, it's a single-state WF.
Should I just add a BS state in front of it?
m
So you have a set field value action with a trigger of Before Load in a single state workflow?
d
The trigger was Entry when getting that error, but yes.
m
Do you need the field value to be set everytime someone Views the record? Or only on create?
d
View
m
oh i see....I re-read you original and it's the non-stored to stored field thing
now i get it
i've never gotten that to work, but I totally understand your reasoning behind it
I've always had to do the scheduled WF running every 30 min to update the stored field