Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hi all,
I want to log label moving in Configuration Management, but I only see events for addLabel and deleteLabel.
I suppose that the movel label is a concatenation of those two actions.
But then the question is how can I distinguish between a normal add label and a move label operation?
Veikko
Solved! Go to Solution.
Hello Viekko,
At a quick glance, it looks like there is a boolean getMoveLabel() which looks like it returns true if the label oepration is a move label operation. It is on the ScriptAddLabelArgumentBean. This is from the ScriptAddLabelArgumentsBean class.
Regards,
Kael
Look like there is a parameter moveLabel in the addlabel event. Thats what I get using the auditlog with --filter=operation:addlabel
So the question would then be: What bean and what parameter I need to check in the event trigger script?
Hello Viekko,
At a quick glance, it looks like there is a boolean getMoveLabel() which looks like it returns true if the label oepration is a move label operation. It is on the ScriptAddLabelArgumentBean. This is from the ScriptAddLabelArgumentsBean class.
Regards,
Kael