Qlik-Cli-Windows icon indicating copy to clipboard operation
Qlik-Cli-Windows copied to clipboard

Issue with update/rename/delete Trigger

Open azharbessrour opened this issue 2 years ago • 2 comments

Hello,

I have a question, Is it possible to create a function in order to update/rename and delete a trigger ? There is only the function Add-QlikTrigger. And I'm wondering if it's possible to do that same as the Task functions ?

Thank you so much for your help

azharbessrour avatar Feb 23 '23 16:02 azharbessrour

There are some functions for managing schedule triggers Get-QlikTaskSchedule and Remove-QlikTaskSchedule

The equivalent functions for event triggers have not been added so you would need to use Invoke-QlikGet /qrs/compositeEvent to get existing event triggers and the Invoke-QlikPut function with the ID appended to the path for updating the trigger, to update a schedule trigger you can do the same with the path /qrs/schemaEvent.

ahaydon avatar Feb 27 '23 11:02 ahaydon

There are some functions for managing schedule triggers Get-QlikTaskSchedule and Remove-QlikTaskSchedule

The equivalent functions for event triggers have not been added so you would need to use Invoke-QlikGet /qrs/compositeEvent to get existing event triggers and the Invoke-QlikPut function with the ID appended to the path for updating the trigger, to update a schedule trigger you can do the same with the path /qrs/schemaEvent.

Hi Adam, I tried both /qrs/compositeevent and /qrs/reloadtask/update, unfortunately they didn’t work.

JackyKuiJiang avatar Apr 10 '23 13:04 JackyKuiJiang