Thank you. I thought it might not be such a good idea but wanted to check (and reading back have realised it had already been asked and answered).
I also hadn’t realised that Updatable BAQ Method Directives were under a separate menu item - I now have this working but I have given my boss all our options.
Hi @josephmoeller,
thanks for sharing your idea, is it possible to kindly share your example of triggering user code update using scheduled task from PowerShell UI ? it looks like my epicor version does not respond with UBAQ scheduled export
The original use case: if you don’t have to move any data, you should just create a report routing that splits on your PackNum and sends emails, then run it on a schedule. - Tracy’s add should probably just be a new thread to not confuse.
Our directives have a slightly different purpose, so what we have works for us, I was just commenting from experience of having implemented BPMs on SysTask tables in general. When we do scheduled things it tends to be via Service Connect.
But yours would be an interested idea to test.
you need to assign it to at least one record, then it depends on that task scheduled time and the enabled flag, i.e. you will have a full control, it is exactly what i was looking for, with a massive advantages over the SysTask which is very expensive idea and will affect overall performance, this will supersede PowerShell, uBAQ export, and running a re-defined SSRS report to scan values, straight away put the code here to find your record or list or records, then do whatever you want, e.g. check field values, pass parameters and invoke what ever method you want, send alerting emails, attached documents…etc
the schedule i picked is an instant one, so this factor won’t matter, Epicor has many light process within it it can be set as a scheduled task mine was filling the shopload graph, but you can pick an easy and quick one for your environment then control it the way you want.
yes it will, if you want to exclude the manual change, you can add another condition saying and user client is Manager OR user is not belong to security group such and such
We just recently tried this method of running BPM code based on ‘nextRun Date’ change , it seems to work well. Curious as to why our new ‘scheduled task’ does not show up in the system monitor as a scheduled task, also does not show in ‘history’ after running? My guess is we have a flag or similar not set, or something else not properly set up in the scheduled task.