Hello everyone, would anyone know how to avoid upd...
# suiteflow
l
Hello everyone, would anyone know how to avoid updating "End of Group" items in sublist action groups ? To prevent the error (I’m building a workflow that updates the Item Class(main) into Item class(lines)
k
put a criteria that looks at the item type for only valid types you want to update.
see if that helps
l
Thank you (again !) for your knowledge. On suiteflow, I cannot select item type as a restriction. I tried using the following custom formula, but the workflow skips it (not recognized I think)
{line.class.id} is not null and ({line.item.itemtype}!='EndGroup' or ({line.item.itemtype}is null))
k
I'm not sure exact mechanics here, or where you were putting that.
Wish I had more to offer though. I do know there's not a lot of great ways to deal with it.
l
message has been deleted
So on every transaction with a non empty class(main) / dept(main) I’m trying to update the class(line)/dept(line) accordingly. When it reaches the ’End of group’ = Game over.
Don’t know if it’s clearer for you, but thanks again 😄
Update if you ever need to do that: it seem to work if I fiter on the name (Item name does not contain "End of Group")
k
Try fixing your line conditions - the way that is set up wouldn't exclude item groups
ha. Typed at same time. That seems like a sufficient approach!
l
Thanks again, I appreciate all the time you have helped me since then.