Is it possible such that if a workflow fails it gets logged into Windows event logs or Event viewer.
Solved! Go to Solution.
@Sachin1 Are you referencing the server Alteryx or Designer Alteryx on your local machine (or both)? While nothing is going to the event viewer, there are engine logs that you can parse. This would be a system setting on the server or available as a user setting on the local machine. It would spit out 1 log file per workflow. You would then need to create a process to grab those logs and check for errors.
I have found the folder where all the Engine logs are present but it has only one file with GUI temp lock of size 0 KB. Can anyone help me with the process to grab it so that i can track the workflow failure and generate alert based on that. I dont want to use the send email facility already provided in the Alteryx designer as I have 100s of workflow and cannot manually add the configuration to each workflow.
Wherever the below directory points to in your System Settings will be where you find the Workflow Run Logs.
@KaneG hello! Where does logs gets collected for non Admin version? I don't see the option for system settings as provided above? Would like to know if its getting captured somewhere in the setup folder where I can take a look.
Edit: Much easier solution provided in the answer below and so mine hidden...
As you don't have the ability to change that directory in the Non-Admin version, it is most likely not set by default. The logging information would be stored in RuntimeSettings.xml, by default in the %ProgramData% directory, I'm not sure if that exists on the non-admin version though... If you can find RuntimeSettings.xml under C:\ProgramData\Alteryx or C:\Users\<username>\AppData\Roaming\Alteryx, then try putting the directory straight into the Engine child (LogFilePath):
<Engine> <DefaultTempFilePath>C:\ProgramData\Alteryx\Engine</DefaultTempFilePath> <LogFilePath>C:\ProgramData\Alteryx\Logs</LogFilePath> <NumThreads>5</NumThreads> <PackageStagingPath>C:\ProgramData\Alteryx\Engine\Staging</PackageStagingPath> <SortJoinMemory>4064</SortJoinMemory> </Engine>
Hi @Raghu_s,
Not to step on @KaneG's feet here, as his solution should definitely work without issues, but there's one other method that may be a little bit easier to implement for a non-admin version.
If you open up your user settings (Options -> User Settings -> Edit User Settings) on the "Defaults" tab there's an option to override system settings. There, you can set a logging directory (default is blank - no logging) that will log the Engine messages.
Do note that this will only affect workflows run from this particular copy of Alteryx Designer and this particular user account. Since you're running a non-admin version, I would also assume you're not running Alteryx Designer with Scheduler (Desktop Automation) or Alteryx Server and this should handle the need without having to go in and modify XML files. Kane's modification above would work across the board for all users and installations, however!
Much better @MikeSp...
Thanks and works as expected.
User | Count |
---|---|
19 | |
15 | |
13 | |
9 | |
8 |