-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get task triggers #5
Comments
You need to look at the DocumentTask not the Task Status, and then look at the Triggering property $QVDocumentTask = Get-QVDocumentTask -Scope All -Documenttaskid $taskID
$QVDocumentTask.Triggering.Triggers or for all you could do something like this $Tasks = Get-QVTasks
$DocumentTasks = $Tasks|?{$_.Type -eq "DocumentTask"}
foreach($DocumentTask in $DocumentTasks){
$QVDocumentTask = Get-QVDocumentTask -Scope All -Documenttaskid $DocumentTask.ID
$QVDocumentTask.Triggering.Triggers
} |
@Nillth Thanks for answer! Find-QVTask -Name "MyTaskname"
ExtensionData : System.Runtime.Serialization.ExtensionDataObject
DistributionGroup :
Enabled : True
ID : c22fa0f8-ae97-42bc-ad1e-70076c908c4a
Name : MyTaskname
QDSID : b01df110-bc40-48d2-8173-07da9677f273
Type : Undefined Interesting that Find-QVTask determine type as (Get-QVTaskStatus -Taskid "c22fa0f8-ae97-42bc-ad1e-70076c908c4a" -Scope General).General.TaskType
ExternalProgramTask As expected, this is returns nothing Get-QVDocumentTask -Scope All -Documenttaskid "c22fa0f8-ae97-42bc-ad1e-70076c908c4a" |
I was digging around looking at another API that I know was missing. My suggestion in this instance, would be to raise a support case and get Qlik Support to look into this one.
.... |
I have updated this as a bug, but unless the issue is fixed upstream in the QlikView QMSAPI we cannot update the module to call those API's as they are not exposed. |
Hello!
Is there any way to get triggers for a task?
(Get-QVTaskStatus -Taskid $taskID -Scope All).Extended.StartTime show only last in list.
The text was updated successfully, but these errors were encountered: