Qlik-Cli-Windows
Qlik-Cli-Windows copied to clipboard
Issue with update/rename/delete Trigger
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
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
.
There are some functions for managing schedule triggers
Get-QlikTaskSchedule
andRemove-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 theInvoke-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.