Is it possible to create an attribute in Insight for inventory number that will be filled automatically with the value of the previous inventory number but with the value bigger on one point?
For example for the first object inventory number is 340046 and for the next one creates automaticlaly and it will be 340047.
Hi @Игорь Дьячковский and welcome to the community!
You may be able to do something like this:
objectType = YOUROBJECTTYPE AND YOURIDATTRIBUTE IS NOT EMPTY ORDER BY YOURIDATTRIBUTE DESC
{{#=}}{{lookupObjects.get(0).YOURIDATTRIBUTE}}+1}}{{/}}
Hi @Mark Segall Thank you for the answer. I tried to create automation rule but it has just deleted the value of attribute that i selected in Edit Object component. In my case, I have attribute "INT" and object Type "Devices". How can I correctly fill the lookup and edit object components of the automation rule?
Thanks a lot in advance for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Игорь Дьячковский - Thanks for the additional context. Can you please share a screenshot of your rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.