Hi,
I try to do an automatization and im doing a lookobject list to get data from.CMDB.
But i dont know how to acces to an atribute current index to keep the value in a variable.
I have try with this sentence:
{{Lookobject.get(index).atributename}} but it doesnt work
If i use similar
{{Lookobject.get(0).atributename}} it works but this only give me the first item. I need to work with the current item. How i can access and keep this value?
@Miriam Fernandez , Welcome to the Atlassian Community!
After using the lookup to pick up your objects, use Advanced branching.
In Smartvalue set: {{lookupObjects}}
In Variable name give the name you prefer
This will allow you to treat each object in your lookup as a unique item where you can perform actions on them. Like this way:
Then you can use {{object.AtributeName}} to see the atribute for each object present in your lookup.
Hope this helps you.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.