This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
- Posts: 351
- Joined: Thu Jan 21, 2016 6:43 am
- Location: Oklahoma City, OK USA
I am using the new avQueueAsyncOperation and avExecuteAsyncOperation in VLF-ONE. and I have noticed that sometimes the "executing" shroud (greyed out window with busystatetext) does not always display.
Before I would control the shroud with avGoToBusyState and avGoToFreeState.
Now when using the new AsyncOperation methods, I have noticed that sometimes the shroud displays and sometimes it does not.
I trigger it via
Code: Select all
#COM_OWNER.avQueueAsyncOperation operationid('GET') busystatetext('Loading')
And handle it via
Code: Select all
mthroutine name(avExecuteAsyncOperation) options(*REDEFINE)
when (= 'GET')
#avFrameworkManager.avRecordTrace component(#COM_OWNER) event('Executing Get Request')
#Get.Execute countrycode(#wk_CountryCode) companynumber(#VLFCompanyLookup.Number) officenumber(#VLFOfficeLookup.OfficeNumber) datalist(#ListItems) status(#wk_Status)
#avFrameworkManager.avRecordTrace component(#COM_OWNER) event('Get Request Completed')
#CMGOARObjectManager.LoadInstanceList( #avListManager #ListItems #wk_CountryCode )
Anyone else experiencing this or is it just me?
- Posts: 318
- Joined: Wed Dec 02, 2015 9:56 am
Sometimes it's so fast you don't see it - but equally something might be wrong.
If you use &Trace=Y when you do the async operations it should trace out each step it takes - that might reveal something.