Raise automation on specific event (provider sync)


#1

Hello everyone!

I’m trying to create an automation that will step into action in the event of cloud provider syncing.

  1. which event is triggered when a provider is syncing?
  2. which event handler is catching this event?
  3. I want to add extra functionality to this handler in the event of provider syncing. what will be the best course of action?

thanks guys (:


#2

@lfu Can you take a look? I do not think there are any existing events that are triggered for the provider refresh. Is there any other event that might work?


#3

Currently there is no event got raised for provider refresh.

To implement it, a new event should be created and raised during the provider refresh which would require code changes. Then the new event should be added under /System/Event/MiqEvent/POLICY in Automate and put you extra functionality into the event instance.


#4

thanks @lfu @gmccullough!