Hi,
Is there a way to setup notification in Asset Management ?
I want set of users to be notified when an asset is added/updated.
Thanks in Advance,
Shesha
Hi @SheshaChandra (& FYI @Walter Buggenhout )
If you go to the Global Automation rules you can create a trigger for when an Object is created/updated or deleted.
A huge tip here when you are going to use this:
There is a bug, when you have multiple rules that trigger on Asset Object Updated, then some of these will fails sometimes, because they can't get the asset information. If you only have one rule that will never fails.
So my tip: create one rule and make an if/then/else construction to distinct between different object types. For each if/else branch call another automation rule via a webhook trigger.
Thx @Rudy Holtkamp,
I was quite sure I had seen that one before, but it needs JSM premium, of course. As my test instance is only standard, I couldn't find it there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Walter Buggenhout , @Rudy Holtkamp , Thanks for the above suggestion and it worked.
Can you please let me know if there is a way to dump all attributes under a object ?
For ex., I can access {{object.Name}}, {{object.Type}}, {{object.Model}}... Is there a way to dump all these data at once instead of mentioning the attribute names ?
Thanks in advance,
SheshaChandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, you need to specify each attribute separately.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @SheshaChandra,
While automation does not have a separate trigger for when an asset was added or updated, you can set up a scheduled automation rule and use Lookup objects to retrieve a list of objects that match certain criteria and define actions for the result.
Here's an example:
Instead of creating an issue, you can also send an email message with automation. In this example, you can see how smart values can be used to select attributes from the retrieved assets and added to a table:
These are the assets which expired or will expire in next 60 days:
|| Asset Tag || Serial Number || Owner || Status || Warranty Date||
{{#lookupObjects}}
|{{Name}} |{{Serial Number}} |{{Owner.Name}} |{{Status}} | {{Warranty Expiry Date}} |
{{/}}
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Walter Buggenhout , Thanks for providing this solution. I will try this out.
And I believe this would be a Global 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.