Standard Data Directive BPM no longer firing on Process MRP SysTask updates after 2024.1.10

As the title states, we have had a standard data directive that would fire on the SysTask table. Originally, this directive would be enabled by an In-Transaction directive that looked for a task description with “Process MRP” and a status that changed to “COMPLETE”. After 2024.1.10, the directive is not firing at all specifically for Process MRP SysTask entries. It is firing for other tasks (like report generations).

Any thoughts?

[edit]Alternatively, if anyone has any suggestions of alternative ways to trigger a function after a successful MRP run, I’m all ears. This was just the way I came up with several years ago.[/edit]

Forrest see this thread:

Public Cloud - Email Widget on Ice.SysTask data directive - Kinetic ERP - Epicor User Help Forum (epiusers.help)

Huh, interesting. I guess that explains my issue, although it is odd that I am still able to send emails from a standard directive on SysTask, but it’s just not working for Process MRP tasks (or perhaps other processes, haven’t tested). Reports seem to still trigger the directive.

1 Like

Unforunately, using a method directive (Public Cloud - Email Widget on Ice.SysTask data directive - #7 by tkoch) as suggested in that thread also does not appear to work.

2 Likes

I just ran a side by side test, seems like my example BPM will trigger on prem but not cloud… :frowning:

That seems right according to Rich:

Not sure what the remedy will be though…

Yes, he was talking about Data Directives. Seems like Method Directives that are tied to systasks do not fire either (in cloud)

2 Likes

Could you create a process set that has a Function at the end that does the work?

Yes, that is what I ended up doing. Just odd that even Method Directive wouldnt trigger in cloud when systasks complete

1 Like

What method could you be using that knows when systasks complete?

The BO method Ice.Lib.RunTask.RunTask

2 Likes

My unwanted opinion about systasks and I am so glad they did restrict it, and I wish they did in On-prem also. It has to potential to hide custom functionality that really should be in a scheduled function or a BPM that is related to a scheduled process or process set.

All this serves to do is hide scheduled automation functionality from where it should be, and that’s in the System Agent Schedules.

I have been burnt too many a time by people putting well meaning BPMs on Systask “Just to get the job done” and they were too lazy to think of a more sensible and future proof method.

On Premise people, please don’t do it… There is really no need.

2 Likes

What I wouldn’t mind is the ability to register a webhook for certain events. This is a lightweight way to trigger async work.

1 Like