I am actually trying to achieve task creation using Cache Terminal. Here is the bit of the script which does the work for me ..
send: Set tTaskObj = ##class(%SYS.Task).%New()
send: Set tTaskObj.NameSpace = "<NameSpace>" <CR>
send: Set tTaskObj.Name = "<tTaskName>" <CR>
send: Set tTaskObj.TaskClass = "<tTaskClass>" <CR>
send: Set tTaskObj.<subproperty>= "<subproperty>"<CR>
send: Set tTaskObj.Description = "<tTaskDesc>" <CR>
send: Set tStatus = tTaskObj.%Save() <CR>
The highlighted line is suppose that sub-property appears under the Task Type* .
But this is not doing anything helping me achieve the requirement.
How do we specify these extra variables for the task type?
Certifications & Credly badges:
Abid has no Certifications & Credly badges yet.
Global Masters badges:
Abid has no Global Masters badges yet.
Followers:
Abid has no followers yet.
Following:
Abid has not followed anybody yet.
As I was using cache terminal this did work for me (and in my case changing namespace was needed as the class was present under that namespace otherwise it was throwing <CLASS DOES NOT EXIST>)
AWESOME!!! @ Eduard Lebedyuk, you saved the day.
And Thanks!! to both Eduard Lebedyuk & Jeffrey Drumm.
I can enjoy my weekend now.