I'm trying to use Insight automation to trigger a groovy script to update an external database with object attribute values. Need to check if the object in action is created or updated and update the database accordingly. Is there any way to check this with script?
Hi @harilal.poyil ,
in Insight automation there are "Object created" and "Object updated" triggers. I would recommend you to use them to distinguish, if the object was created or updated, ie not to do it in script, but create two separate scripts specific for each situation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Hana Kučerová at the start of the automation there the trigger to check if something is created, but how can you check which object it was. In an automation rule I setup that triggers a for IQL branch and then it creates a variable, but it is looping through all the records in insight, what do you need to setup to tell the automation to only work with the newly created insight object?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ste404 ,
I’m sorry, but I don’t understand your use case. Would you please create a new question with better description and screenshot? Thank you.
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.