User bio
404 bio not found
Member since Apr 27, 2017
Posts:
Replies:
Kudos to all participants and winners🎉!
Hello @Krishnaveni Kapu
%SYS.Task is responsible for store, suspend and resume for all the tasks. so, your can execute the below method programmatically to achieve it. It expects the task id as the first argument
You can execute the below query to get the task id, name and additional information
select Suspended,Name,id from %SYS.Task
Flag
1 - Suspend the task, but leave it in task queue (default)
2 - Suspend the task, remove from task queue, and reschedule for next time
Set taskId = 1001
Set flag = 2
Write ##class(%SYS.Task).Suspend(taskId,flag)
Set taskId=1001
Write ##class(%SYS.Task).Resume(taskId)
Open Exchange applications:
Certifications & Credly badges:


Global Masters badges:







Followers:
Following:
Hi @Eduard Lebedyuk
I use the same code and as well as use $ZU(41,-2) to get stack information .