User Process Scheduler

Still isn’t working for some reason… hmmm

Even when submitting that task directly? Make sure your action text matches exactly what your task does

Scratch that…Your email is going on on the “False” side of your condition. Needs to go on the True side

1 Like

still not working…

Yike, this shouldn’t’ be that hard.
Let’s ensure the following:

  1. BPM is properly accepting the Condition on Action
  2. The Email widget extends from the “True” side of the condition
  3. Your SMTP config on that server is correct
  4. Your User Scheduler task Action matches the BPM condition
  5. You’re submitting the task

image

You should at the very least see a historical record of this firing in your System Monitor…

BPM:


Task:
image

System Monitor:

Email:
image

2 Likes

I keep getting errors like this…

I wonder if you need to re-install it. Did you download the version of UPS that matches the Epicor version?

Yes I did. When I run the schedule task it shows up with Error

Can I trace this? I traced it and looks like RunTask wasn’t about to load assembly Erp.Internal.UserProcess

Had to install the scheduler on my rpt server too

oooo that’s weird. Is that where your task agent is hosted?

1 Like

Yes!

@Aaron_Moreng Is there an easy way to export the schedule into a solution?

Hmm, I’ve never done it myself, but I could take a look. It’s usually easier for me to just recreate the schedule in the new environment.

1 Like

I agree it would be easier, but i’d like to find a way to do it via solution management. I have to have people deploy it to other environments (i won’t be doing it myself). It will save more time from me having to go through and screenshot everything into a word doc to explain how to do it.

I haven’t done this so try at your own risk

But I think if you add the ZDataTable element and select SysAgentSched, that would be the copy of the database table SysAgentSched, which is where your Schedules are defined. If you wanted to include the tasks associated with the schedule, that would be ZDataTable SysAgentTask.

I would try this in a dev environment, but I think that’s how you do it.

1 Like

WOW thanks Aaron! Appreciate it. I’ll try it and verify it works. :grinning:

So,

I tried that but I wasn’t able to get it to work yet. However now i’m running into this issue when installing the USP

You might want to get support involved. I feel something is wrong on the install side vs. the usage side.

1 Like

Any luck figuring this out? I was using the UPS successfully in 10.2.200.34, but after updating to 10.2.200.40, I am now receiving the same error as you.

Unable to load assembly Erp.Internal.UserProcess.dll for task 3420515 or it contained no types that implemented the RunProcess method.

UPDATE: I re-ran the installer and re-imported the license file and it is working successfully now.

UPDATE 2: I ran into this same error again after it started working again. I ran the process a few times and then it just started working fine again. Not sure what caused it to fail for a few runs, but hopefully that will help anyone else that may be having the issue.