This message was deleted.
# citrix-wem
s
This message was deleted.
m
What's your trigger? And is execution of External Tasks enabled?
m
Yes, I have enabled processing of External Tasks. I set it to Refresh, Reconnect and Login for now so I can test. It’s odd because I just did a Refresh and it worked. Tried it again and it did nothing. So out of about 30 tests only worked once. Which doesn’t make sense. I turned on Debug mode in the VUEMSAV and looked at those logs. No errors, just shows it’s running. But I recall now that there is a File System Operations/Copy feature in WEM, so perhaps what I’m trying to do is best serviced by leveraging that.
m
Hmm.. I haven't used those myself. I have an action that executes a powershell script to copy files with robocopy on lock. It creates a log in AppData called "Citrix WEM Agent Lock.log". I know the logoff trigger makes a similar log. Does Reconnect and Login make similar logs in AppData as well?
m
That method is working. So I may ditch the External Task method, although I’m curious as to why it doesn’t work as I have it configured.
Onto my next challenge — why one particular site has a very-much delayed splash screen/login process. It takes sometimes in excess of a minute for the agent to initialize, push down the settings, and throw up the splash screen. Then other times it’s quick. Thanks for your responses, Matt
Ugh. Now this File Copy thing, which looked promising at first - stopped working also.
Back to the drawing board
m
I enabled some simple logging in my PowerShell script when I was trying to figure out if it was working or not.
I discovered some triggers don't work on Server 2022 -at least that's my recollection.
m
Yeah I may have to try some script logging. I have worked with WEM quite a bit and it always seems the External Commands and such can be very sporatic for some reason.
s
hi Mike, do you check the RunOnce box for the external task or file operation action?
and you mentioned that the agent took a long time on the splash screen. what text shows in the splash screen? or could you take a look at the *Citrix WEM Agent.log to see which step takes too much time?*https://docs.citrix.com/en-us/workspace-environment-management/current-release/reference/view-log-files.html#logs-related-to-the-agent