Background:
I'm trying to do a very simple POC whereby a user goes to the service desk, requests access to the GitLab SaaS application, the ticket has some automation behind it that first checks if we have licenses and then if it does, does license count = license count -1. So in theory that license is then allocated to that user.
My setup
I've created a new Asset object Schema called 'SaaS'
Inside the Schema Tree I've created 'SaaS Application'
I've then created a new Asset Object called 'GitLab'
I've added a new attribute to this Schema called 'License Count' (integer)
I've set the GitLab object to have 100 under License Count.
Automation so far:
It all works until the edit object part, for the life of me I cannot get the asset object to change value.
I see this error on the edit object:
'One of the following needs to be produced earlier in the rule by the trigger or with a 'for each' branch for this component to work: CMDB object'
Anyone tried this? Or have any suggestions, I was hoping this would be simple!
Hi and welcome to the Community!
Is something I came across also several time. The key here is to go in a branch (AQL), fetch the object, then in the branch do the edit:
In your case i think it could be:
key = SAAS-4
This would only return 1 object which in the Then you will be able to edit.
Jeroen
Amazing thank you! One thing to note for other people reading this, is that to use AQL Branch you need to have the automation under Global Automation
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.