Hi there,
I'm trying to change a numeric value of an assets object attribute using an automation, but I'm rather stuck at the moment.
I've created the automation and added some audit log steps to check the value I'm picking up. Everything seems to go fine until I go to the last step edit assets field attributes. The asset I want to edit is "Resterende credits" for that specific contract.
Purpose of the automation is, once a ticket is closed, the credits field(the assignee fills this field in on closure) is deducted from the total available credits (Resterende credits).
I've added screenshots from my assets configuration, the automation and the audit log.
If more info is needed, please let me know.
Many thx for all the help.
Kind regards,
Dirk
Hi @Dirk De Mal ,
the problem is probably the {{lookupObjects}} smartvalue. This is going to be an object an not the credit value itself. So you might need to use the dot notation to access the attribute value.
Could you try {{lookupObjects.Resterende credits}} as first part of your substraction?
Hi @Kai Becker
Big thx for the help already...
I tried {{lookupObjects.Resterende credits}} as first part of my substraction, but I still get the same error in the automation audit log : No Objects associated to the Insight field.
Any other clues as to why this is not working accordingly? I'm pretty sure it's in the notification of the smart value, but really cant figure out what...
Kind regards,
Dirk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dirk De Mal ,
sorry to hear that. Could you please attach a screenshot of the lookup objects action from your rule?
The object you want to change is already assigned to the issue? Because this is what the rule tries to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kai Becker
Found it...
Stupid me...I was using a different assets field then the one created in the issue...
Big thx for helping me out.
Kind regards,
Dirk
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.